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

Detaching models with unit Data editor Events

Status
Not open for further replies.
Level 6
Joined
Apr 15, 2012
Messages
205
I have managed to attach a model to a unit when a behavior is applied to it. The behavior lasts for 5 seconds, when that time is over I want the model to disappear. I managed to create the event "Behavior, <Buff name>, Destroy", but I can't find the action. I don't even know if the model is stored somewhere. Is there a way to fix this?
 
Level 9
Joined
Dec 21, 2006
Messages
490
the attached model has an ID, let's say "MYAttachedModel" . on the main actor where the model gets attached, you need the event Behavior off - Destroy (the action Destroy has a field "Target". you have to input MYAttachedModel there, if i remember right!). if this doesn't work i will open the editor for you :d.
 
Status
Not open for further replies.
Top