• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

[trigger][/trigger]

Status
Not open for further replies.
Level 24
Joined
Jun 14, 2005
Messages
2,506
this is what it does

[trigger:1:5a2813265d]Drop Weapon
Events
Unit - A unit Loses an item
Conditions
Actions
Wait 0.30 seconds
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
((Triggering unit) has an item of type (Item-type of Weapon[(Player number of (Owner of (Triggering unit)))])) Equal to False
(Item being manipulated) Equal to Weapon[(Player number of (Owner of (Triggering unit)))]
Then - Actions
Game - Display to (Player group((Owner of (Triggering unit)))) for 2.50 seconds the text: ((Unwielding Weapon: |CFF0000FF + (Name of Weapon_Bonus[(Player number of (Owner of (Triggering unit)))])) + |r)
Unit - Remove Weapon_Bonus[(Player number of (Owner of (Triggering unit)))] from (Triggering unit)
Set Weapon[(Player number of (Owner of (Triggering unit)))] = No item
Else - Actions[/trigger:1:5a2813265d]
 
Status
Not open for further replies.
Top