Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   timevar (https://forums.graalonline.com/forums/showthread.php?t=10537)

Jaguar__5 08-27-2001 11:51 AM

timevar
 
Can anyone tell me how to use the "timevar" stuff, I wanna make a clock but I've never used it =(
PLEASE HELP ME!
- Jaguar

KJS 08-27-2001 11:54 AM

well
timevar goes up every 5 seconds it goes up 1...

grim_squeaker_x 08-28-2001 01:34 AM

And it only works online.

Jaguar__5 08-28-2001 09:32 AM

i KNO it only goes up every 5 secs, and it works online only, but i DONT KNOW HOW TO SCRIPT something TO MAKE IT WORK, i need to make an hours system, its for a day/night script i made!
PLEASE HELP ME!!!

LiquidIce00 08-28-2001 09:42 AM

this.kaka=timevar

now this.kaka is timevar ;D

o.o

Tyhm 08-29-2001 12:16 PM

Here's a start:
this.seconds=timevar%60;
this.minutes=int(timevar/60)%60;
this.hours=int(timevar/3600)%24;


All times are GMT +2. The time now is 04:52 PM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.