For anyone wanting to use this for future reference - you have to use convert real to integer for custom value of unit as an index in addition to what he said because apparently custom values are real numbers instead of integers
Well i'm trying to set it up as a respawn trigger - so when zergling 1 dies a zergling spawns at point 1, and when zergling 2 dies a zergling spawns at point 2 - etc.
It doesn't need to remember the team because the zerglings will always belong to hostile.
@s3rius: Go
Thanks - that worked perfectly!
For anyone wanting to use this for future reference - you have to use convert real to integer for custom value of unit as an index in addition to what he said because apparently custom values are real numbers instead of integers
@Tradnan: Go
Well i'm trying to set it up as a respawn trigger - so when zergling 1 dies a zergling spawns at point 1, and when zergling 2 dies a zergling spawns at point 2 - etc. It doesn't need to remember the team because the zerglings will always belong to hostile.
Hi, Im looking for a way to get an index number from an event with a variable further down the road in an action. For Example:
Events:
Unit -Unit Variable[Any Unit] Dies
Actions:
Spawn 01 Zergling at Point Variable[Same index number as the event variable] facing Default Degrees
What do I put as the index so the trigger can remember the index number I used in the action? Does that make sense?