Author Topic: time  (Read 1935 times)

0 Members and 1 Guest are viewing this topic.

Offline Xqzzy Rcxmcq

time
« on: June 02, 2003, 08:17:28 PM »
How can you make agi handle long amounts of time?

Like: Leisure Suit Larry 1, when you have about 11 hours or so (in real time) to win before the game ends.

Also, in one of Infocom's mystery games, I recall, you had 12 hours (in real time) to win or the game would end.

I don't think logic cycles would be the answer, does anybody know?


Pathfinder. After I finish CIMS 2004.

Offline Andrew_Baker

Re:time
« Reply #1 on: June 02, 2003, 10:58:46 PM »
Actually, they are.  In fact, the version of the template I used had a built-in clock, I think.
I hope you realize that one day I will devour the Earth.

Kon-Tiki

  • Guest
Re:time
« Reply #2 on: June 03, 2003, 05:03:27 AM »
Yep, it's  easiest to use the clock timer's variables for this. Check which var to use on the Special Variables-page in the helpfile. Then just take the var you want (the hour-var, the minute-var, etc) and put a code like the one below in logic 0.
Code: [Select]
if(chosen_var == yourtime) {
  your code
}

It's easy ;)

-Kon-Tiki-

Offline Xqzzy Rcxmcq

Re:time
« Reply #3 on: June 03, 2003, 08:33:08 PM »
Thanks. I will try it.
Pathfinder. After I finish CIMS 2004.


SMF 2.0.19 | SMF © 2021, Simple Machines
Simple Audio Video Embedder

Page created in 0.03 seconds with 22 queries.