- Joined
- Feb 17, 2008
- Messages
- 67
Hello
In the past 2 days i have been checking out numerous tutorials on how to make maps using jass , the one made/updated by wyrmlord was most helpful .
[ http://www.hiveworkshop.com/forums/...als-280/beginning-jass-tutorial-series-30765/ ]
(actual problem)
It might be a bit outdated ,but now i feel as though i have a fair grip of the basics, the last spell covered in his tutorial was a spell similar to dota's omnislash.A spell that basically picks up every unit in a AoE of the targeted unit and moves the caster to the unit ,plays a special effect and damages that unit ,eliminates that unit from the group then "jumping" to the next unit in the group; repeating the process (instantly move,effect,dmg) till the group has no more units or the process of "jumping" has been done a number of times (nr_units_jumped == 0).
One extra condition when a unit from the group gets "jumped"-to it cannot be "jumped"-to again consecutively unless this unit is the only unit it the group.
I have tried the function GroupEnumUnitsInRange(group_g,location...) and first time it works ..but i tried afterwards to clear the links (minding the leaks) in a attempt to re-use the same group with some other position (position of the 2nd unit that is "jumped"-to) but it seems that the group_g ends up empty.
If somebody can help me with this i'd be really grateful ,different approaches are appreciated and if it wouldn't be to much trouble a pointer to a intermediate jass tutorial would be really great
for your time,
Thanks in advance
In the past 2 days i have been checking out numerous tutorials on how to make maps using jass , the one made/updated by wyrmlord was most helpful .
[ http://www.hiveworkshop.com/forums/...als-280/beginning-jass-tutorial-series-30765/ ]
(actual problem)
It might be a bit outdated ,but now i feel as though i have a fair grip of the basics, the last spell covered in his tutorial was a spell similar to dota's omnislash.A spell that basically picks up every unit in a AoE of the targeted unit and moves the caster to the unit ,plays a special effect and damages that unit ,eliminates that unit from the group then "jumping" to the next unit in the group; repeating the process (instantly move,effect,dmg) till the group has no more units or the process of "jumping" has been done a number of times (nr_units_jumped == 0).
One extra condition when a unit from the group gets "jumped"-to it cannot be "jumped"-to again consecutively unless this unit is the only unit it the group.
I have tried the function GroupEnumUnitsInRange(group_g,location...) and first time it works ..but i tried afterwards to clear the links (minding the leaks) in a attempt to re-use the same group with some other position (position of the 2nd unit that is "jumped"-to) but it seems that the group_g ends up empty.
If somebody can help me with this i'd be really grateful ,different approaches are appreciated and if it wouldn't be to much trouble a pointer to a intermediate jass tutorial would be really great
for your time,
Thanks in advance