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 08-29-2002, 03:04 AM
emortylone emortylone is offline
Registered User
Join Date: Apr 2002
Location: Control-NPC
Posts: 834
emortylone is on a distinguished road
x.X Perhaps so =P Timevar is serverwide, I wonder though, can I use it clientside? I was working on a time script, and it took me about 1.5 days to figure out the proper coding/mathmatics for it x.X
NPC Code:

this.minutes=timevar*5/60;
for (m=0;this.minutes>60;m++)
{ this.minutes=this.minutes-60;
}


That is for minutes. just add another /60 for hours, and then /60/24 for days, and /60/24/7 for weeks, I did a months and years too, he he. I'm working on a new "layout" for the A,S,D, Hearts, MP, basically showstats =P when I get done, you'll only see showstats 1024; =P Perhaps the minimap also I had a longer, actually more mathmatic version of that code I just put, but I simplified it =P
---Shifter
__________________
Quote:
*Stefan: it seems sometimes they hire newbie scripters everywhere x-x
*Stefan: scripters are sometimes like people that draw paintings
*Stefan: all that counts is that it looks nice
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 02:20 PM.


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