- Joined
- Jun 2, 2007
- Messages
- 26
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.
Shotgun use

Events


Unit - A unit Uses an item

Conditions


(Item-type of (Item being manipulated)) Equal to Shotgun

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 (Hero manipulating item)) Equal to Survivor {Shotgun






(Unit-type of (Hero manipulating item)) Equal to Zombie Host






(Unit-type of (Hero manipulating item)) Equal to Zombie



Then - Actions




Do nothing



Else - Actions




Item - Move (Item carried by (Hero manipulating item) in slot 1) to (Random point in Temporary item storage <gen>)




Item - Move (Item carried by (Hero manipulating item) in slot 2) to (Random point in Temporary item storage <gen>)




Item - Move (Item carried by (Hero manipulating item) in slot 3) to (Random point in Temporary item storage <gen>)




Item - Move (Item carried by (Hero manipulating item) in slot 4) to (Random point in Temporary item storage <gen>)




Item - Move (Item carried by (Hero manipulating item) in slot 5) to (Random point in Temporary item storage <gen>)




Item - Move (Item carried by (Hero manipulating item) in slot 6) to (Random point in Temporary item storage <gen>)




Wait 0.50 seconds




Unit - Replace (Hero manipulating item) with a Survivor {Shotgun using The old unit's life and mana
Shotgun use

Events


Unit - A unit Uses an item

Conditions


(Item-type of (Item being manipulated)) Equal to Shotgun

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 (Hero manipulating item)) Equal to Zombie Host






(Unit-type of (Hero manipulating item)) Equal to Zombie






(Unit-type of (Hero manipulating item)) Equal to Survivor {Shotgun



Then - Actions




Do nothing



Else - Actions




Hero - Drop the item from slot 1 of (Hero manipulating item)




Hero - Drop the item from slot 2 of (Hero manipulating item)




Hero - Drop the item from slot 3 of (Hero manipulating item)




Hero - Drop the item from slot 4 of (Hero manipulating item)




Hero - Drop the item from slot 5 of (Hero manipulating item)




Hero - Drop the item from slot 6 of (Hero manipulating item)




Wait 0.50 seconds




Unit - Replace (Hero manipulating item) with a Survivor {Shotgun using The old unit's life and mana
Items carried

Events:


Time - Every 0.15 Seconds of time

Conditions:

Actions:


For each (Integer A) from 1 - 6, do (Actions)



Loop - Actions:




Set (Item carried by (Survivors_Player1[(Integer A)] in slot (Integer A)) = Item_CarriedSlot1[Integer A]




Set (Item carried by (Survivors_Player2[(Integer A)] in slot (Integer A)) = Item_CarriedSlot2[Integer A]




Set (Item carried by (Survivors_Player3[(Integer A)] in slot (Integer A)) = Item_CarriedSlot3[Integer A]




Set (Item carried by (Survivors_Player4[(Integer A)] in slot (Integer A)) = Item_CarriedSlot4[Integer A]




Set (Item carried by (Survivors_Player5[(Integer A)] in slot (Integer A)) = Item_CarriedSlot5[Integer A]




Set (Item carried by (Survivors_Player6[(Integer A)] in slot (Integer A)) = Item_CarriedSlot6[Integer A]
Shotgun use

Events


Unit - A unit Uses an item

Conditions


(Item-type of (Item being manipulated) Equal to Shotgun

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 (Triggering Unit)) Equal to Survivor {Shotgun





(Unit-type of (Triggering Unit)) Equal to Zombie Host





(Unit-type of (Triggering Unit)) Equal to Zombie



Then - Actions



Else - Actions




For each (Integer A) from 1 - 6, do (Actions)





Loop - Actions






Hero - Drop the item from slot (Integer A) of (Triggering Unit)




Item - Move (Item_CarriedSlot1[(Player number of (Owner of (Triggering Unit)))]) to (Random point in Temporary item storage <gen>)




Item - Move (Item_CarriedSlot2[(Player number of (Owner of (Triggering Unit)))]) to (Random point in Temporary item storage <gen>)




Item - Move (Item_CarriedSlot3[(Player number of (Owner of (Triggering Unit)))]) to (Random point in Temporary item storage <gen>)




Item - Move (Item_CarriedSlot4[(Player number of (Owner of (Triggering Unit)))]) to (Random point in Temporary item storage <gen>)




Item - Move (Item_CarriedSlot5[(Player number of (Owner of (Triggering Unit)))]) to (Random point in Temporary item storage <gen>)




Item - Move (Item_CarriedSlot6[(Player number of (Owner of (Triggering Unit)))]) to (Random point in Temporary item storage <gen>)




Unit - Replace (Triggering Unit) with a Survivor {Shotgun using The old unit's life and mana




Hero - Give (Item_CarriedSlot1[(Player number of (Owner of (Triggering Unit)))]) to (Triggering Unit)




Hero - Give (Item_CarriedSlot2[(Player number of (Owner of (Triggering Unit)))]) to (Triggering Unit)




Hero - Give (Item_CarriedSlot3[(Player number of (Owner of (Triggering Unit)))]) to (Triggering Unit)




Hero - Give (Item_CarriedSlot4[(Player number of (Owner of (Triggering Unit)))]) to (Triggering Unit)




Hero - Give (Item_CarriedSlot5[(Player number of (Owner of (Triggering Unit)))]) to (Triggering Unit)




Hero - Give (Item_CarriedSlot6[(Player number of (Owner of (Triggering Unit)))]) to (Triggering Unit)
