kiren17
New Member
- Reaction score
- 2
how would i use and ability to change a corpse into an item
im using it for a survival map...
im using it for a survival map...
Corpses
Events
Time - Every 5.00 seconds of game time
Conditions
Actions
Unit Group - Pick every unit in (Units in (Playable map area)) and do (Actions)
Loop - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
((Picked unit) is dead) Equal to True
((Picked unit) is A Hero) Equal to False
Then - Actions
Unit - Remove (Picked unit) from the game
Item - Create (Random level -1 item-type) at (Position of (Picked unit))
Else - Actions
Do nothing
Corpses
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to *Your ability*
Actions
Hero - Create *Your Item* and give it to (Triggering unit)
Unit - Remove (Target unit of ability being cast) from the game