M
mik19
Guest
I need help with an Arena Fighting Map. I need to make so an AI chooses a different Fighter Every match. Instead of making it choose the same one. HELP NEEDED!!!!
Variables:
Fighters: Unit-Type Array (30)
NotSpawned: Integer Array (30)
tempInt: Integer
Init
Events
Map initialization
Conditions
Actions
Set Fighters[0] = Footman
Set Fighters[1] = Riflem...
...ghters[29] = Siege Golem
For each (Integer A) from 0 to 30, do (Actions)
Loop - Actions
Set NotSpawned[(Integer A)] = (Integer A)
Spawn Fighter
Events
Conditions
Actions
Set tempInt = (Random integer number between 0 and (29 - <The level you are on>))
Set ToSpawn = Fighters[NotSpawned[tempInt]]
Set NotSpawned[tempInt] = (29 - <The level you are on>)
No problemmik19 said:Thanks alot that really Helped.
All the Impale ability does is set the Elevation height of the unit. You could make a trigger that does that, and turns off collision of the unit.$c0rp10n said:EASY I HAVE THOUGHT OF THIS BEFORE!!!
first make a unit with locust, invulnerablility, and the model - zone indicator
what u eventually do is making that unit cast impale on ur jumping unit
but remember to set impale to no damage, no stun, no missle model
u can also edit how high he "jumps" in in the impale editing
roughly thats it - might have to make the unit special target like "ancient" and have impale only affect "ancients"
i think......maybe......
*BOOM END OF THREAD*
$c0rp10n said:*BOOM END OF THREAD*