• 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.

model attachments??

Status
Not open for further replies.
Level 2
Joined
Aug 24, 2008
Messages
17
hey i know how to attach models using triggers items and abilitys is there a way to remove previous weapons so they dont stack
 
Level 11
Joined
Apr 28, 2008
Messages
696
Save every attachment in an effect variable and destroy it before attaching a new one.

Greetings
Thy
 
Level 31
Joined
Apr 17, 2009
Messages
3,572
No.

He has attached a weapon per trigger.
Now he wants to attach another weapon.
But his problem is, there's still the old weapon attached.
So he wants to know how to remove the old weapon.

  • Attachments
    • Events
      • Unit - A unit Acquires an item
    • Conditions
      • (Item-type of (Item being manipulated)) Equal to Sword
    • Actions
      • Special Effect - Destroy Current_Attachment
      • Special Effect - Create a special effect attached to the left hand of (Triggering unit) using war3mapImported\Sword.mdx
      • Set Current_Attachment = (Last created special effect)
 
Status
Not open for further replies.
Top