Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   save[#] (https://forums.graalonline.com/forums/showthread.php?t=42330)

osrs 01-29-2003 02:16 AM

save[#]
 

I need some help with this 'command'.
i dont know how to use it exactly.
It's just something I've made to try to understand.
Comments are welcome. =)


Quote:

save[0]=8;

//#CLIENTSIDE

if(created){
message #v(save[0]);
}

Python523 01-29-2003 02:17 AM

it's a var, not a command

osrs 01-29-2003 02:19 AM

Quote:

Originally posted by Python523
it's a var, not a command
some help about how do I use it?

Python523 01-29-2003 02:22 AM

save's are just a var you set serverside that the npc can read (but not write) clientside, nothing special, 2k1 uses them for things like the drainsine, they use save[0] = true to make other scripts know that the npc is a railtrack and they use save[9] = # to make other npcs (like the train or draisine) know what direction to move in

tlf288 01-29-2003 03:05 AM

Quote:

Originally posted by osrs


some help about how do I use it?

Just use them like a regular 10 length array. They're not that special realy.


edit: this has already been asked :P

osrs 01-29-2003 03:22 PM


Thanks Jagen.
Thanks Trevor.


Quote:

Originally posted by tlf288
edit: this has already been asked :P
I know,but nobody explained nothing there.


All times are GMT +2. The time now is 12:30 AM.

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