• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

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