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

[JASS] Real-time game clock

Status
Not open for further replies.
Level 3
Joined
Jun 13, 2005
Messages
26
-----------------------
| Gold | Min 0| Sec 32 |
-----------------------

In DOTA, as shown above, there is a real-time clock that runs throughout the course of the game. Does anyone know the script, triggers, etcetera that is involved and how you place the clock on the resource bars?
Thankyou!

BTW, wasn't sure if this was JASS or GUI triggers...but considering most of DOTA is in JASS I made an educated guess. Sorry if I was mistaken.
 
Level 12
Joined
Nov 5, 2007
Messages
730
Simple.Just open the Game Interface,change the lumber icon into an imported clock,then change the food icon into a blank icon.Then every second add 1 food to all players,every 60 seconds reset it to 0 and add 1 lumber.
 
Status
Not open for further replies.
Top