• 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.
  • It's time for the first HD Modeling Contest of 2025. Join the theme discussion for Hive's HD Modeling Contest #7! Click here to post your idea!

Unit>>Hero Transform Trigger???

Status
Not open for further replies.
Level 18
Joined
Feb 28, 2009
Messages
1,971
You can make simply a boolean variable with array for each player and once a unit uses the hero change ability set it to true. And later when another unit tries to change then check if the boolean is false. If not then order unit to stop and display error msg.
If I got what you meant right...
 
You can make simply a boolean variable with array for each player and once a unit uses the hero change ability set it to true. And later when another unit tries to change then check if the boolean is false. If not then order unit to stop and display error msg.
If I got what you meant right...

Yes, that is what imeant,:grin::grin::grin:

can you write the trigger hear? Please? Pretty Please??:smile::smile:
 
Level 17
Joined
Apr 3, 2010
Messages
1,101
Em just wondering

if you want to give the abillty for a unit to transform into a hero can't You just base an abillty of off metamophosis make it a non hero abillty. then Give the abillty to the unit. To turn into a Hero. Then if you wanted to make it able to turn back also give a seperate/diffrent one to the hero to turn back.
Or you can just you a trigger
Unit begins casting abillty
Abillty=to Metamophosis
Create 1 heroofyourchoice at point of unit
Remove unit
Or you could do
Food=1/1
Removeunit=trigerunit
create1herofyourchoice at pointoftriggerunit
Or somin
 
Level 17
Joined
Apr 3, 2010
Messages
1,101
if you want to give the abillty for a unit to transform into a hero can't You just base an abillty of off metamophosis make it a non hero abillty. then Give the abillty to the unit. To turn into a Hero. Then if you wanted to make it able to turn back also give a seperate/diffrent one to the hero to turn back.
Or you can just you a trigger
Unit begins casting abillty
Abillty=to Metamophosis
Create 1 heroofyourchoice at point of unit
Remove unit
Or you could do
Food=1/1
Removeunit=trigerunit
create1herofyourchoice at pointoftriggerunit
Or somin
Oh soz for double post i forgot at the end of each trigger to add turnof this trigger as the last action
 
Status
Not open for further replies.
Top