- Joined
- Feb 25, 2009
- Messages
- 38
Yo!
so i wanted to make an aura that give a buff to nearby units. the buff will give a 20% chance to spawn a specific unit owned by the caster when the unit affected by the buff dies.
i have everything i need done, other than the trigger that spawns the actual unit, and i can't remember how to make the game do a random roll....
for example:
pick a random number between 1 and 5. if the picked number is 1, spawn unit. else, do nothing.
so i wanted to make an aura that give a buff to nearby units. the buff will give a 20% chance to spawn a specific unit owned by the caster when the unit affected by the buff dies.
i have everything i need done, other than the trigger that spawns the actual unit, and i can't remember how to make the game do a random roll....
for example:
pick a random number between 1 and 5. if the picked number is 1, spawn unit. else, do nothing.