Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting
FAQ Members List Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 10-17-2001, 02:55 AM
ownerofbabylon ownerofbabylon is offline
Lord Helmut
ownerofbabylon's Avatar
Join Date: Jun 2001
Location: Gainesville FL
Posts: 1,763
ownerofbabylon is on a distinguished road
Send a message via ICQ to ownerofbabylon Send a message via AIM to ownerofbabylon
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 Here ya go

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


Warrior of Light

WWW.BABYLONSERVER.COM
Reply With Quote
  #2  
Old 10-17-2001, 03:20 AM
btedji btedji is offline
bryan986
btedji's Avatar
Join Date: Apr 2001
Location: Force 10
Posts: 1,153
btedji is on a distinguished road
Send a message via ICQ to btedji Send a message via AIM to btedji Send a message via Yahoo to btedji
that will only show you seconds since server was started and is slower than normal time
Reply With Quote
  #3  
Old 10-17-2001, 03:31 AM
Aknts Aknts is offline
Level Designer
Aknts's Avatar
Join Date: Apr 2001
Location: USofA
Posts: 3,340
Aknts will become famous soon enough
Send a message via AIM to Aknts
Lord Helmut if you can't get that Time Script to work I made just IM me on aim.
__________________
Reply With Quote
  #4  
Old 10-17-2001, 08:06 AM
ownerofbabylon ownerofbabylon is offline
Lord Helmut
ownerofbabylon's Avatar
Join Date: Jun 2001
Location: Gainesville FL
Posts: 1,763
ownerofbabylon is on a distinguished road
Send a message via ICQ to ownerofbabylon Send a message via AIM to ownerofbabylon
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
__________________


Warrior of Light

WWW.BABYLONSERVER.COM
Reply With Quote
  #5  
Old 10-17-2001, 12:59 PM
Slaktmaster Slaktmaster is offline
man with the mastahplan
Slaktmaster's Avatar
Join Date: Apr 2001
Location: Half-way over the river styx
Posts: 4,422
Slaktmaster is an unknown quantity at this point
Send a message via ICQ to Slaktmaster Send a message via AIM to Slaktmaster
Timevar increases once every five seconds.
Reply With Quote
  #6  
Old 10-17-2001, 08:33 PM
Shard_IceFire Shard_IceFire is offline
Registered User
Shard_IceFire's Avatar
Join Date: Jun 2001
Location: Eastern Harkoonia
Posts: 861
Shard_IceFire is on a distinguished road
=/ 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..
__________________

-=Shard IceFire=-
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 12:49 PM.


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