- Joined
- Oct 28, 2019
- Messages
- 475
It appears simple, but im not gettin...
event
a unit drops an item
condition
item type equal to..
action
set point in position of last dropped item ..
how can i do this
event
a unit drops an item
condition
item type equal to..
action
set point in position of last dropped item ..
how can i do this
-
DropMine
-
Events
- Unit - A unit Is issued an order targeting a point
-
Conditions
- (Target item of issued order) Equal to (Last dropped item)
-
Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- IntegerMine Equal to 0
-
Then - Actions
- Set VariableSet IntegerMine = (IntegerMine + 1)
- Set VariableSet PointMine = (Target point of issued order)
- Unit - Create 1 Satchel Charge (Mine) for Player 24 (Peanut) at PointMine facing Default building facing degrees
- Set VariableSet UnitMine[1] = (Last created unit)
- Item - Create Satchel Charge at PointMine
- Set VariableSet ItemMine[1] = (Last created item)
- Custom script: call RemoveLocation(udg_PointMine)
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
Events
Last edited: