- Joined
- Mar 27, 2008
- Messages
- 8,035
Okay, I got my CasterUnit casting a spell
This spell will kill enemy unit that is the most nearest to the CasterUnit
Say:
CasterUnit's distance to Enemy A is 350.00
CasterUnit's distance to Enemy B is 150.00
CasterUnit's distance to Enemy C is 600.00
So, I want this spell to only kill Enemy B (which is the most nearest)
I tried using For Loop Integer action and Unit Group - Pick Every Unit... action but still fail
Can someone show me the proper action ?
This spell will kill enemy unit that is the most nearest to the CasterUnit
Say:
CasterUnit's distance to Enemy A is 350.00
CasterUnit's distance to Enemy B is 150.00
CasterUnit's distance to Enemy C is 600.00
So, I want this spell to only kill Enemy B (which is the most nearest)
I tried using For Loop Integer action and Unit Group - Pick Every Unit... action but still fail
Can someone show me the proper action ?