Need clarification on something...
If i have a sub-event which pick objects and that this sub-event contain a triggered event (such keyboard key pressing) that reference thoses picked objects. Does that triggered events will have picked thoses objects aswell ? or the picking is reset ?
Develop games in your browser. Powerful, performant & highly capable.
Please read the "Events run top to bottom" section of the manual.
You can't bury triggers inside of events. They should almost always be at the top level.
Umm i already know about that but what if i need a local variable stuck in a subevent to be a condition in my trigger event ? It seem to work.. if it is buried in a sub-event but i am guessing it will still execute and ignore the subevent condition since its a trigger.
But what happen with the picking ?
It insn't clear if the picking would work the same way. So basically when there is a trigger the picking is reset or not ?
Anyway i decided to move the event at the top to avoid confusion. Thanks!