Graal Forums

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

joseyisleet 01-08-2002 02:32 AM

Joining.
 
Ok,
I've been gone from Graal for 3 months and I'm kind of behind in the new scripting commands. How do you use join/how do you make `classes` so you use the join command?

Thak2 01-08-2002 03:17 AM

http://forums.graal2001.com/forums/s...threadid=17698

joseyisleet 01-08-2002 04:15 AM

Thanks!

One more question. How does Graal read strings? I'm trying to set the strings, then read the value. So something like:
//NPC one
setstring blah,0;

//NPC two
if (#s(blah)=>0){
codehere;
}

That doesn't work though. =\ Could someone enlighten me?

dragoonvenganc 01-08-2002 10:40 AM

ok
//npc 1
setstring blah,0;

//NPC 2
if (strtofloat(#s(blah))=>0){
codehere;
}

that should work

kp_p2p 01-08-2002 07:37 PM

=> looks funny i always learned it as >= greater than or equal to sounds better than equal to or greater than

Shorty2Dope 01-09-2002 01:10 AM

Quote:

Originally posted by kp_p2p
=> looks funny i always learned it as >= greater than or equal to sounds better than equal to or greater than
Yea thats the way it is done and better to learn :)

Warcaptain 01-09-2002 02:45 AM

unless it says string or partstring or value or something like that, it should always be a varible, and must be 'converted' to a variable, to make sure there are no string values in it. strtofloat(string) is the way to go ;)


All times are GMT +2. The time now is 11:19 PM.

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