Is there any way to pick objects outside of the selected object list?
What do you mean?
I mean - is there any way (other than using families) to access an instance of object which is not picked within given event?
For example:
for each goal if goal.name = "gRuminate": // here we have one goal picked // and now I want to pick another goal // and use it within this event [/code:1q8w7lqu] How am I supposed to do that?
Families, containers, private variables, object pairer, plus a ton of other things, like color filter, collisions, offset, etc.
Also you can have multiple conditions for each event
Develop games in your browser. Powerful, performant & highly capable.
The event engine fundamentally operates on selected object lists (SOLs). The best technique to deal with two separate instances in the same event (short of making them different object types) is to give the object a family, and use the family as a separate SOL.