Graal Forums

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

ownerofbabylon 10-17-2001 02:55 AM

Time Script
 
I see many of you asking about the time script and if you have even a small amount of knowledge you should be able to figure it out. I made a simple little NPC showing how to use timevar for a clock and im sure you could make it much better :D Here ya go

// NPC made by LH
if (playerenters) {
timeout=1;
}
if(timeout){
this.time=timevar;
time+=1;
message #v(time);
timeout=1;
}

btedji 10-17-2001 03:20 AM

that will only show you seconds since server was started and is slower than normal time

Aknts 10-17-2001 03:31 AM

Lord Helmut if you can't get that Time Script to work I made just IM me on aim.

ownerofbabylon 10-17-2001 08:06 AM

Quote:

Originally posted by Aknts
Lord Helmut if you can't get that Time Script to work I made just IM me on aim.
i was just learning how to use timevar :(

Slaktmaster 10-17-2001 12:59 PM

Timevar increases once every five seconds.

Shard_IceFire 10-17-2001 08:33 PM

=/ I don't like time systems, because for instance, if you want to go buy a fishing pole but it's the middle of the graalian night, you can't cause the ******* fishing salesman isn't awake...then you have to wait a REAL half hour for him to get up..


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

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