und34d-rul3
New Member
- Reaction score
- 12
ok this isnt working anyone know why???
this sets the hero level into an integer(dont know if i should set it into integer)
and heres an example of picking a unit
its saposed to set the player level, so that if they type -repick it will then have the heroes level stored and will make the level of new hero the level of the old hero
Code:
repick set
Events
Unit - A unit Gains a level
Conditions
Actions
Set Herro_Level[(Hero level of (Triggering unit))] = (Hero level of (Triggering unit))
this sets the hero level into an integer(dont know if i should set it into integer)
and heres an example of picking a unit
Code:
AM
Events
Unit - A unit enters AM <gen>
Conditions
(Unit-type of (Triggering unit)) Equal to Wisp
Actions
Unit - Create 1 Archmage for (Owner of (Triggering unit)) at (Center of Summon <gen>) facing Default building facing degrees
Unit - Remove (Triggering unit) from the game
Hero - Set (Last created unit) Hero-level to Herro_Level[(Hero level of (Leveling Hero))], Show level-up graphics
its saposed to set the player level, so that if they type -repick it will then have the heroes level stored and will make the level of new hero the level of the old hero