• 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] Drop Trigger

Status
Not open for further replies.
Level 9
Joined
May 22, 2009
Messages
491
OK, my trigger is where they pick up a item and a special effect attaches to target area etc.


Actions-
Unit - Unit picks up an item

Conditions-
Item-type equal to Longsword
Unit-type (triggering unit) equal to Warrior

Actions-
Special Effect - Attach special effect to right hand of (triggering unit) equal to war3imported\Longsword.mdx

That all works but how do I make it he drops the item and the special effect dissapears?
 
Level 4
Joined
Jun 1, 2009
Messages
87
hi Bwathke, i think what you should do is this.

1)make an item called longsword ( which you have already done)
2)Go to ability and make a new custom ability
3)select ability from items ( devoution arua)
4)change arua stats to 0 armor, effect range 0, for buffs u may choose to just delete it.
5)now u should see a area called target attach point
6) change the target to your sword model
7) change string to hand,left
8) rename your ability to Longsword effect
9) go back to your long sword item, and add longsword effect ability to the item

10) you are now finished xD when you drop the item, the effect will disappear as well!

however anyone can equip this item.

if you want to do it by triggers so only your swordman can equip then do this method

Actions-
Unit - Unit picks up an item

Conditions-
Item-type equal to Longsword
Unit-type (triggering unit) equal to Warrior

Actions-
setvariable - longsword to last created special effectSpecial Effect - Attach special effect to right hand of (triggering unit) equal to war3imported\Longsword.mdx

Action- a unit looses an item
conditions
item type equals to Longsword

Action
destory - longsword effect.

longsword is the variable you saved in variable before
 
Status
Not open for further replies.
Top