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

Make the game check the date/time (possible?)

Status
Not open for further replies.
Level 7
Joined
Feb 9, 2007
Messages
56
Hello everybody! I would like to know if it is possible to make the game check the date or time. (and if it's possible, how...? )

I could need that function for many funny things.... (for example timed rewards for a tournament in my orpg)

Thanks a lot,

BOESERTEDDY
 
Level 3
Joined
Jan 27, 2007
Messages
54
I don't know if checking the date is possible, but you can create some rewards, for ex. 30 sec to collect as many coins as you can.

I'll try to create a simple triggers,and write them here, in about 15 minutes


EDIT:

Here they are

  • Events
  • Unit - villager 0000<gen> is dying ([COLOR="red"]Your event here, Dying unit is just a example[/COLOR])
  • Conditions
  • ([COLOR="Red"]Nothing[/COLOR])
  • Actions
  • Unit - move Test unit 0001<gen> instantly to (center of [[COLOR="red"]Your region here, my is for ex.[/COLOR]]region 000 <gen> facing (position of (triggering unit))
  • Wait 1.00 seconds
  • Clock - Start timer as one shoot timer that will expire in 30 seconds ([COLOR="red"]How many seconds do you want??[/COLOR])
  • Clock - create a timer window for timer with the title ([COLOR="red"]Your Title here[/COLOR]) ([COLOR="red"]Timer is variable , type : clock[/COLOR])
  • Wait 30 seconds
  • Clock - Destroy (last created timer window)
  • Wait 0.25 seconds
  • Unit - Move Test unit 0001 <gen> to (center of Region 0002 <gen> facing (position of (triggering unit))
Test Unit - it's our testing unit.
You can create variable "timer" but you don't have to do this.
Red text is just for you, not for WE

OK, its all.

EDIT 2

I don't know why Clock's pic. isn't that you can see in WE, But I'm using Polish Version of this Game, and Maybe in ENG version it's has got Different name. You should Know what's this.
 
Last edited:
I don't want the game time. I want the real time in real life...

And I know it's not possible with GUIs...

But I don't know about Jass or other things....

Nope... It is absolutely impossible. I am 99.999999999999....% sure that there are no functions, GUI or JASS, that can detect the actual time on your computer or GMT zone or whatever. I am not sure if you can do the trigger strings or whatever and create your own, but I don't think that will work. Sorry.... :bored:
 
Status
Not open for further replies.
Top