Using the event Unit - Unit Comes In Range, how could I get the unit specified? For example, if I did:
How would I reference UNIT_VARIABLE[583]? I know how to get the unit that comes within 256 of it, but how do I get UNIT_VARIABLE[583]? For those who think "You can just use UNIT_VARIABLE[583]?" I'm making a trigger with multiple events like that, so I need to know which one is causing the trigger to fire.
Code:
Unit - A unit comes within 256.00 of UNIT_VARIABLE[583]
How would I reference UNIT_VARIABLE[583]? I know how to get the unit that comes within 256 of it, but how do I get UNIT_VARIABLE[583]? For those who think "You can just use UNIT_VARIABLE[583]?" I'm making a trigger with multiple events like that, so I need to know which one is causing the trigger to fire.