W!†A_cRaft
Ultra Cool Member
- Reaction score
- 28
I am roughly new to JASS and i wandered into this problem.
I need to pick every enemy, alive, non-building, non-dummy unit within 200 range around the caster (or dummy to be precise)
The function GetUnitsInRangeOfLocMatching doesnt allow me to put parameters into the matching function and i cannot check wheather the picked unit matches the above mentioned conditios. how should i do this?
I am making a spell that picks units around certain point every few seconds. Made it with a timer to which i bound the caster/dummy/damage/etc.
But it is suppose to damage only enemies and i cannot pick only enemies, how am i suppose to do that?
I need to pick every enemy, alive, non-building, non-dummy unit within 200 range around the caster (or dummy to be precise)
The function GetUnitsInRangeOfLocMatching doesnt allow me to put parameters into the matching function and i cannot check wheather the picked unit matches the above mentioned conditios. how should i do this?
I am making a spell that picks units around certain point every few seconds. Made it with a timer to which i bound the caster/dummy/damage/etc.
But it is suppose to damage only enemies and i cannot pick only enemies, how am i suppose to do that?