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

An upgrade - Lesser build time

Status
Not open for further replies.
This is an Object Editor thing. Under Upgrades tab make a new upgrade that changes unit trainning time.

<< EDIT >>

Sorry, I thought I saw something like that but this is not right and I am working on it by triggers.

Thanks m8, would be really epic to know a system of this, my patience couldn't bare to deal with this in triggers anymore :p
 
Its done. It will be long to describe so I made a map attachement.

<< EDIT >>

There is a slight change in the triggers.

Change:
  • Set PN = (Player number of (Triggering player))
With
  • Set PN = (Player number of (Owner of (Triggering unit)))

Sure that system works, but if you have 45 units and want 10 stages in a research/upgrade, that means 10 extra models per model..

450 units! XD
 
I couldn't find anything, but if you don't have the patience of setting the variable for 450 unit. Then you need to set the variable in a loop using JASS by setting an array variable to the raw code of the units. Though I am not sure, so lets keep this thread waiting until a vJASSer posts here.

Yeah good idea, thanx for help so far tho, appreciated

Jass people, show yourselfs!
 
Status
Not open for further replies.
Top