Graal Forums  

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

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 04-09-2005, 11:27 PM
vigilant_death2 vigilant_death2 is offline
Registered User
Join Date: Sep 2003
Location: n/a
Posts: 25
vigilant_death2 is on a distinguished road
Send a message via AIM to vigilant_death2 Send a message via Yahoo to vigilant_death2
Graal scripting engine bug? o.o

I was messing around scripting things offline and whattya know I find a bug!
Don't know if it's already known or not but I'll post it anyway
Check this out...
NPC Code:

//#CLIENTSIDE
if(playerchats&&strequals(#c,show me the bug!)){
setplayerprop #c,Ok, 4 divided by 100 is #v(4/100)!;
}


Well there you go...
Most of you can do that in your head (DUH) but when you put it through the game...
guess what? 4 divided by 100 is .4! no, not .04, .4!!
__________________
-Neo

Last edited by vigilant_death2; 04-09-2005 at 11:50 PM..
Reply With Quote
 


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:31 AM.


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