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

change unit type

Status
Not open for further replies.
Level 4
Joined
Apr 9, 2008
Messages
73
can i change the unit type for a unit with a trigger?
for example to change the unit type for a footman to mechanic and after a time back to the normal unit type?

or is there perhaps a conditions that says:
matching unit is invulnerable equal to true

that would also solve my problem i think
 
OMG, please learn to use triggers before posting for help. It's boelean condition. And for the first one its "Unit-Replace Unit"

Omg learn to trigger... Please, no offence but feel free to keep your tounge when you have somthing like that on your mind.
By the way, you don't have to replace the unit, try use Unit - Add Classification or Unit - Remove Classification
 
Level 19
Joined
Nov 16, 2006
Messages
2,165
OMG, please learn to use triggers before posting for help. It's boelean condition. And for the first one its "Unit-Replace Unit"

Shut up in the first place if you have nothing useful to say.
We are here to help him with triggers, not to tell him go away and learn it on your own.

Anyway.
The Silent is right, it should work that way.
  • Example
    • Events
    • Conditions
    • Actions
      • Unit - Add classification of Mechanical to Your Unit
      • Wait 2.00 seconds
      • Unit - Remove classification of Mechanical from Your Unit
 
It shouldn't be that hard to figure out on your own whether a unit is mechanical or not. It's the first friken slider that pops up when you add a condition. And about the replace unit, I wasn't sure if you could add clasification with a trigger, cause I was at school and didn't have WE right infront of me. And I learned how to trigger and use the WE without the hiveworkshop, and even though there's nothing wrong about asking for help, don't be a freaking idiot and ask for help at every hurdle without trying to make it yourself first. Even though in some respects I agree with Xarwin, he should have atleast tried to figure it out himself.
 
Level 4
Joined
Apr 9, 2008
Messages
73
hmm ja ok it works thx to the guys who helped me i added the classification and after a time romoved it
 
Status
Not open for further replies.
Top