• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

Trigger-function

Status
Not open for further replies.
Level 2
Joined
Jan 3, 2005
Messages
15
I got a quite simple question if you know the answer.. -.-
I get my unit to pick up an item,
He gets a special effect on him.

But my problem is that i have no idea how to make that special effect disappear when the units drops the item in fact..

Heres my trigger:

Events:
Unit - A unit Acquires an item
Conditions
[Item-class of [item being manupilated]] Equal to [Item class of "Bladebane Armor 0073" <gen> ]
Actions
Special Effect - Create a special effect attached to the "chest" of [Hero manipulating item] using "orcPlate.mdx"

This far I have no problems.. But now:

Events
Unit - A unit loses an item
Conditions
[Item-class of [Item being manipulated]] Equal to [Item-class of Bladebane Armor 0073 <gen> ]

Now you just have to finish my script :D or answer the question, whatever you like. :x

//Reason I write in model forum is that the special effect is a model I downloaded.. And that I don't know whereelse to write^^.
 
Status
Not open for further replies.
Top