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 01-29-2003, 02:16 AM
osrs osrs is offline
Graalian since 1998
osrs's Avatar
Join Date: Mar 2002
Location: Brazil
Posts: 2,724
osrs is on a distinguished road
Send a message via ICQ to osrs Send a message via AIM to osrs Send a message via MSN to osrs Send a message via Yahoo to osrs
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]);
}
__________________
"Ability is what you are capable of doing. Motivation determines what you do. Attitude determines how well you do it."
Facebook: facebook.com/raysilvadotnet /
Reply With Quote
  #2  
Old 01-29-2003, 02:17 AM
Python523 Python523 is offline
Banned
Join Date: Aug 2001
Location: Illinois
Posts: 3,498
Python523 is on a distinguished road
it's a var, not a command
Reply With Quote
  #3  
Old 01-29-2003, 02:19 AM
osrs osrs is offline
Graalian since 1998
osrs's Avatar
Join Date: Mar 2002
Location: Brazil
Posts: 2,724
osrs is on a distinguished road
Send a message via ICQ to osrs Send a message via AIM to osrs Send a message via MSN to osrs Send a message via Yahoo to osrs
Quote:
Originally posted by Python523
it's a var, not a command
some help about how do I use it?
__________________
"Ability is what you are capable of doing. Motivation determines what you do. Attitude determines how well you do it."
Facebook: facebook.com/raysilvadotnet /
Reply With Quote
  #4  
Old 01-29-2003, 02:22 AM
Python523 Python523 is offline
Banned
Join Date: Aug 2001
Location: Illinois
Posts: 3,498
Python523 is on a distinguished road
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
Reply With Quote
  #5  
Old 01-29-2003, 03:05 AM
tlf288 tlf288 is offline
Registered User
tlf288's Avatar
Join Date: Nov 2001
Location: new account: Trevor
Posts: 0
tlf288 is on a distinguished road
Send a message via AIM to tlf288 Send a message via Yahoo to tlf288
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
__________________
new account: Trevor

Last edited by tlf288; 01-29-2003 at 03:42 AM..
Reply With Quote
  #6  
Old 01-29-2003, 03:22 PM
osrs osrs is offline
Graalian since 1998
osrs's Avatar
Join Date: Mar 2002
Location: Brazil
Posts: 2,724
osrs is on a distinguished road
Send a message via ICQ to osrs Send a message via AIM to osrs Send a message via MSN to osrs Send a message via Yahoo to osrs

Thanks Jagen.
Thanks Trevor.


Quote:
Originally posted by tlf288
edit: this has already been asked :P
I know,but nobody explained nothing there.
__________________
"Ability is what you are capable of doing. Motivation determines what you do. Attitude determines how well you do it."
Facebook: facebook.com/raysilvadotnet /
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 01:40 AM.


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