Order of Operations
pjburnhill
Brighton, UKMember Posts: 18
Hi, can someone explain to me the order of operations that happen on each scene? I'm trying to figure out updating variables at the beginning of a scene and I'm not sure if those updates should happen by an actor at the top of the layers or at the bottom. And is it better to use scene variables instead of actors that update global variables when it comes to getting those variables set before action starts?
Thanks,
PJ
Comments
Code in actors are fired top to bottom. Actors in layers are read bottom to top.
Guru Video Channel | Lost Oasis Games | FRYING BACON STUDIOS
Excellent, thank you TGG. Not that it necessarily matters, but I assume the order that variables are set is Global variables, Scene variables and then Actor variables (when spawn)?