- Joined
- Jun 11, 2009
- Messages
- 23
hmm.. i ran into a "Drop Item Condition" problem..
The only event that can get a dropped item it the "A unit loses an item"..
but it also activates when a trigger removes the Item.. is there some kind of condition that only activates when the unit dies/drop or drops the item?
Current Trigger:
The only event that can get a dropped item it the "A unit loses an item"..
but it also activates when a trigger removes the Item.. is there some kind of condition that only activates when the unit dies/drop or drops the item?
Current Trigger:
Code:
Dropped Flag
Events
Unit - A unit Loses an item
Conditions
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Item-type of (Item being manipulated)) Equal to Red Flag
Then - Actions
Game - Display to (All players) the text: (Player_Colors[(Player number of (Owner of (Triggering unit)))] + ((Name of (Owner of (Triggering unit))) + (|r + has dropped: |c00ff0303Red Flag|r)))
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Item-type of (Item being manipulated)) Equal to Blue Flag
Then - Actions
Game - Display to (All players) the text: (Player_Colors[(Player number of (Owner of (Triggering unit)))] + ((Name of (Owner of (Triggering unit))) + (|r + has dropped: |c00ff0303Blue Flag|r)))
Else - Actions