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

Changing unit model with an item?

Status
Not open for further replies.

Dr Super Good

Spell Reviewer
Level 64
Joined
Jan 18, 2005
Messages
27,258
Make sure your unit has an attachment point for the chest before you can do anything. Use a Site Operation for positioning the armor actor in case it doesnt fit well where you want it or the model has no attachment point.
Depends if he wants to attach models to a puppet model, or if he wants to really change the units model.

If you are doing something like a sword, than your approach is perfect.
If you are doing something like a power suit then your approach is invalid.

In anycase, you can completly change the unit's actor with the right actor event. You just need to destroy the existing unit's actor when you create the new unit's actor. Giving the same unit 2 unit actors is a bad idea and the game reports this as an error ingame.
 
Level 9
Joined
Dec 21, 2006
Messages
490
no success?

once again:
item(suit) has a behavior X
actor: event - behavior X on
action - swap model marauder
event - behavior off
action - swap model marine

i am doing the same just with an effect that sets in some seconds after the item is picked up to validate certain conditions ( like having another suit already).
 
Status
Not open for further replies.
Top