[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.
 
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.
Back
Top