- Joined
- Aug 1, 2007
- Messages
- 534
I have set up an item table and am now trying to make any unit that dies drop from it... But I dont know how. Anyone know anything about item tables?
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Unit - add item table to created unit or something like that
Items

Events


Unit - A unit Dies

Conditions

Actions


Set ItemRoll = (Random integer number between 1 and 100)


If (All Conditions are True) then do (Then Actions) else do (Else Actions)



If - Conditions




ItemRoll Greater than or equal to 1




ItemRoll Less than 61



Then - Actions




Do nothing



Else - Actions


If (All Conditions are True) then do (Then Actions) else do (Else Actions)



If - Conditions




ItemRoll Greater than 61




ItemRoll Less than or equal to 65



Then - Actions




Item - Create (Random level -1 Artifact item-type) at (Position of (Dying unit))



Else - Actions


If (All Conditions are True) then do (Then Actions) else do (Else Actions)



If - Conditions




ItemRoll Greater than 65




ItemRoll Less than or equal to 73



Then - Actions




Item - Create (Random level -1 Miscellaneous item-type) at (Position of (Dying unit))



Else - Actions


If (All Conditions are True) then do (Then Actions) else do (Else Actions)



If - Conditions




ItemRoll Greater than 73




ItemRoll Less than or equal to 81



Then - Actions




Item - Create (Random level -1 Any Class item-type) at (Position of (Dying unit))



Else - Actions


If (All Conditions are True) then do (Then Actions) else do (Else Actions)



If - Conditions




ItemRoll Greater than 81




ItemRoll Less than or equal to 93



Then - Actions




Item - Create (Random level -1 Powerup item-type) at (Position of (Dying unit))



Else - Actions


If (All Conditions are True) then do (Then Actions) else do (Else Actions)



If - Conditions




ItemRoll Greater than 93




ItemRoll Less than or equal to 100



Then - Actions




Item - Create (Random level -1 Charged item-type) at (Position of (Dying unit))



Else - Actions
