How to factorize code in Unreal Kismet (i.e. "Material Function"s for Kismet)
- by Georges Dupéron
In the Unreal Development Kit, when using the Material Editor, one can factorize frequently-used groups of nodes by creating a Material Function (content Browser ? right-click ? new matrial function, IIRC).
When defining the behaviour of some actor in Kismet, one can easily have a dozen nodes involved.
If I have many actors that share the same behaviour, then I'll copy-paste these nodes, and change the variables so they point to the other actors.
This leads to inconsistencies (a modification in the behaviour of an actor isn't propagated in the copy-pasted nodes), complexity (you end up with hundreds of nodes), and generally useless effort.
My question is : Can I create a "kismet function", just like a material function ?
Note: I'd rather avoid using UnrealScript.
I don't even know where to type UnrealScripts, don't know where the documentation is and more generally don't have enough time to invest in learning UnrealScript.
This "kismet function" feature must be usable by graphists (with little programming knowledge).
If a (simple) script suffices to add this feature in the Kismet editor, so that one can create several "functions" without using UnrealScript, then fine, but I don't really want to have to write a script each time I want to factorize a few nodes.
Thanks for any information !