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

[Solved] Upgrade upgrades another upgrade

Status
Not open for further replies.
Level 3
Joined
Mar 3, 2011
Messages
58
No pun intended.

I have one upgrade that when researched will trigger the others.
The problem, is that all of those, even the main are multi-leveled

I can make a single level upgrade do this, the problem is when there is more than 1 level

Main has 3 levels, same as the others
How can i make each level increse the level in others?

Bonus:
How can i make Charm temporary?
 
Level 9
Joined
Sep 20, 2015
Messages
385
Well for the bonus question, you can use triggers. Check when charm is casted, set the targeted unit equal to a custom unit variable, then change unit's owner after x seconds

Events
A Unit cast an ability
Condition
Ability being cast Equal to Charm
Actions
Set Tatget unit of ability begin cast = TempCharm (this is the custom variable you created)
Wait 3 seconds
Set TempCharm's owner to player(x)
 
Status
Not open for further replies.
Top