-
GetIndex
-
Events
-
Time - Elapsed game time is 1.00 seconds
-
-
Conditions
-
Actions
-
Set Temp_UnitGroup = (Units in (Playable map area))
-
Unit Group - Pick every unit in Temp_UnitGroup and do (Actions)
-
Loop - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
Or - Any (Conditions) are true
-
Conditions
-
(Unit-type of (Picked unit)) Equal to (Boss) Bandit Lord (Female)
-
(Unit-type of (Picked unit)) Equal to (Sub-boss) Bandit Lord Assistant
-
(Unit-type of (Picked unit)) Equal to (Boss) Kobold Head-Cheif
-
-
-
(Owner of (Picked unit)) Equal to Neutral Hostile
-
-
Then - Actions
-
Set X[(Custom value of (Picked unit))] = (X of (Position of (Picked unit)))
-
Set Y[(Custom value of (Picked unit))] = (Y of (Position of (Picked unit)))
-
Set Z_Facing[(Custom value of (Picked unit))] = (Facing of (Picked unit))
-
-
Else - Actions
-
Unit Group - Remove (Picked unit) from Temp_UnitGroup
-
-
-
-
-
Custom script: call DestroyGroup(udg_Temp_UnitGroup)
-
-
-
Respawn
-
Events
-
Unit - A unit Dies
-
-
Conditions
-
Or - Any (Conditions) are true
-
Conditions
-
(Unit-type of (Dying unit)) Equal to (Boss) Bandit Lord (Female)
-
(Unit-type of (Dying unit)) Equal to (Sub-boss) Bandit Lord Assistant
-
(Unit-type of (Dying unit)) Equal to (Boss) Kobold Head-Cheif
-
-
-
(Owner of (Dying unit)) Equal to Neutral Hostile
-
-
Actions
-
Set TempUnit = (Dying unit)
-
Set CV = (Custom value of TempUnit)
-
Wait 20.00 seconds
-
Unit - Create 1 (Unit-type of TempUnit) for Neutral Hostile at (Point(X[CV], Y[CV])) facing Z_Facing[CV] degrees
-
Unit - Set the custom value of (Last created unit) to CV
-
-
JASS:
call UnitAddItemToSlotById(GetLastCreatedUnit(), 'I01I', 6)
Drops item on floor rather than putting it in slot 6 even though theres nothing in slot 6 or any other slots