How do I add instance specific behaviors to spawned actors? Newbie question :)
Hi, when I spawn several different instances of the same actor during a game, how do I add behaviors to each instance that are different from the prototype actor (and each other)? I realize I could just make several different prototype actors but it seems a bit cumbersome to do it that way. As the instances don't appear in the scene until the game is underway I am, of course, unable to edit them.
Comments
Hi @flurospeedo, you can't use the Spawn behaviour to spawn instances, only copies of Prototypes. So if you've actors with the same image but slightly different behaviours, your only way is to make different versions of them, changing their rules accordingly, as you've realised. The good news is that copying actors in the Inspector doesn't add to the file size.
""You are in a maze of twisty passages, all alike." - Zork temp domain http://spidergriffin.wix.com/alphaghostapps