If I have the following code:
Event 1
-- Subevent 1
---- Call Function("CreateObjectA")
---- Set ObjectA.Val = bla bla bla
And CreateObjectA() is a rexrainbow function (in a separate event sheet), which has:
On Function CreateObjectA
-- System Create ObjectA
Will the following calls that act on sprites of type "ObjectA" only act on the one that was created? As I understand it, when a sprite is created, the SOL (for sprites of ObjectA) is only set to that particular instance.
I just want to make sure I don't have to do a subsequent Pick by the created objects UID. Anyone have any ideas about this? I've got a lot of object A being created on the fly, so it's very important that the following Set value call only act on the latest created instance of ObjectA.
Thanks,
-- cacotigon