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

[vJASS] Things To Get from Object Editor

Status
Not open for further replies.
I don't recall there being a way to retrieve that. However, you can easily create a database for that. Just store the times of each unit under their unit-id on map initialization. (look up the object editor values)
JASS:
call SaveReal(myHash, 0, 'h000', 5)
Do this for all the units you use in your map. Either that or do it for whichever units you are interested in retrieving the construction time for.
 
Level 23
Joined
Apr 16, 2012
Messages
4,041
does this work?
  • Events
    • Unit - A unit Starts the effect of an ability
  • Conditions
    • (Ability being cast) Equal to Repair
    • (Ability being cast) Equal to Repair (Human)
  • Actions
but im not so sure about this one as there is nothing like finishes the effect of an ability

  • Events
    • Unit - A unit Finishes casting an ability
  • Conditions
    • (Ability being cast) Equal to Repair
    • (Ability being cast) Equal to Repair (Human)
  • Actions
 
Status
Not open for further replies.
Top