• 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.
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!
  • ✅ The POLL for Hive's Texturing Contest #34 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!
  • ✅ The POLL for Hive's Techtree Contest #20 is OPEN! Vote for the TOP 3 FACTIONS! 🔗Click here to cast your vote!

[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