Different rules for dfferent scenes (same actor)
michelericcio
Member Posts: 45
Hello, i got a little beginner problem:
how can i assign different rules in two different scenes for the same actor?
Thanks so much!
how can i assign different rules in two different scenes for the same actor?
Thanks so much!
Comments
Make two invisible actors, one for each scene. On one put a behavior "change attribute" and have it set "sceneRules" to true. On the other actor (in the other scene) have that rule set "sceneRules" to false.
Now on your main actor, put one set of behaviors / rules in a rule that says if "sceneRules" is "true" and put your alternate behaviors / rules in the "otherwise" section.
What will happen is when one scene opens, your invisible actor will set the "sceneRules" to true and your main actor will only use the rules that are to be used under that condition. When you go to the other scene, the attribute will be changed to false and the "otherwise" rules will be used.
There might be an easier way, but this should work.
This is why tshirtbooth has a number of games out and is actually making money.
For my specific case i will change it a bit with a switcher (it will not be a boolean case but a multiple case). Thank you so much!