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

Unique Techtree system, similar to zerg

Status
Not open for further replies.
Level 5
Joined
Oct 29, 2008
Messages
35
Hey was wondering if somone could help me make a system where one builder could become multiple units; with the correct upgrades and buildings requuired. I treid to use destroyer ability for all the transformations but they get mixed up no matter which i use
 
Level 12
Joined
Oct 18, 2008
Messages
1,199
Perhaps you should make a dummy ability, and give the dummy ability the techtree requirements and then, trigger it so that when the ability is cast, it replaces the triggering unit with another unit(s).

- Infinite
 
Level 17
Joined
Jun 12, 2007
Messages
1,261
Hey was wondering if somone could help me make a system where one builder could become multiple units; with the correct upgrades and buildings requuired. I treid to use destroyer ability for all the transformations but they get mixed up no matter which i use

It's a unit right? If so, just make a bunch of dummy spells that do nothing.
For example you want it to become a footman u can check if his gold amount (with an integer that stores it) is high enough, if it has all the upgrades (make a boolean for that) and any other conditions.
Then just remove the money, save the point of builder, remove the builder, create footman at builder point, remove builder point and select the footman for the player.

Or if you are lazy, just turn the builder into a building that way you can just upgrade it into the 'building' you want it to be.
 
Level 5
Joined
Oct 29, 2008
Messages
35
Thanks it worked!!

Hey thanks guys it worked perfectly, also got me toying around and discovered other cool ways to make tech trees. thanks agian my question was ansered realy quik.
By the Way how do I mark this as "Solved"
 
Status
Not open for further replies.
Top