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 02-01-2002, 07:52 AM
Dustey Dustey is offline
Registered User
Join Date: Nov 2001
Location: Do You Think I Know?
Posts: 193
Dustey is on a distinguished road
Send a message via AIM to Dustey
Can...

how do save[] vars work? can they be used online?
__________________
And Yes I work For.... Renegade
Reply With Quote
  #2  
Old 02-01-2002, 08:03 AM
Dustey Dustey is offline
Registered User
Join Date: Nov 2001
Location: Do You Think I Know?
Posts: 193
Dustey is on a distinguished road
Send a message via AIM to Dustey
i dont know i never actually ment to put can but sorry if i offended your forum
__________________
And Yes I work For.... Renegade
Reply With Quote
  #3  
Old 02-01-2002, 08:14 AM
Dustey Dustey is offline
Registered User
Join Date: Nov 2001
Location: Do You Think I Know?
Posts: 193
Dustey is on a distinguished road
Send a message via AIM to Dustey
no so i can do like
IF (created) {
save[YES]=1;
}
__________________
And Yes I work For.... Renegade
Reply With Quote
  #4  
Old 02-01-2002, 08:55 AM
konidias konidias is offline
Old Bee
konidias's Avatar
Join Date: Jul 2001
Location: Orlando, FL
Posts: 7,222
konidias will become famous soon enough
Send a message via AIM to konidias
Save variables are meant to store values in npcs.. that can be read online and clientside. If you have seen the new furniture in the playerhouses (newer area) They can be moved around, and the save variables store their values.
__________________

Put this image in your sig if you support Bomy Island! (g2k1 revision)
play bomberman while you wait!


Reply With Quote
  #5  
Old 02-01-2002, 06:44 PM
TDO2000 TDO2000 is offline
Registered User
TDO2000's Avatar
Join Date: Jul 2001
Location: Germany
Posts: 655
TDO2000 is on a distinguished road
Or if u want some vars on Non P2P servers saved for everyone in the level without the use of server.-vars you can use save-vars for this ^_^
__________________
No Webhost at the moment
Reply With Quote
  #6  
Old 02-01-2002, 06:57 PM
lordhelmut lordhelmut is offline
Registered User
lordhelmut's Avatar
Join Date: Aug 2001
Posts: 710
lordhelmut is on a distinguished road
Send a message via ICQ to lordhelmut Send a message via AIM to lordhelmut Send a message via Yahoo to lordhelmut
I tried to use them to make a gate that could only be opened and closed by a certain guild but it was only shown locally to whoever opened and closed it =/
Reply With Quote
  #7  
Old 02-01-2002, 08:56 PM
joseyisleet joseyisleet is offline
Registered User
Join Date: Aug 2001
Posts: 378
joseyisleet is on a distinguished road
instead of using "show;" and "hide;" use "showlocal" and "hidelocal;"
__________________
Account used by Josey and Howard.
Ali G: 'Is it cause i Black?'
Reply With Quote
  #8  
Old 02-01-2002, 11:33 PM
Gohan43331 Gohan43331 is offline
Registered User
Join Date: Jan 2002
Posts: 87
Gohan43331 is on a distinguished road
Send a message via AIM to Gohan43331
Quote:
Originally posted by joseyisleet
instead of using "show;" and "hide;" use "showlocal" and "hidelocal;"
This doesn't quite work when changing images. EX:
gate1.png is closed gate gate2.png is open gate...
he want's to open the gate (setimg gate2.png) but not hide it (if i'm not mistaken :P

Also, you could have 2 npcs where one(open gate) is below the other one(closed gate) and when the player touchs the gate and has x flag set, it hides the first one(closed gate) and the open gate is there. (i ramble a lot, so if i am totally annoying, please ignore me :P)

Gohan
Reply With Quote
  #9  
Old 02-02-2002, 04:42 AM
TDK_RC6 TDK_RC6 is offline
Registered User
TDK_RC6's Avatar
Join Date: Jan 2002
Location: Earth
Posts: 0
TDK_RC6 is on a distinguished road
you could use dontblock and drawunderplayer

that is a simple way to do it
__________________
Staff on Renegade


email: [email protected]
aim: papivicente
Reply With Quote
  #10  
Old 02-02-2002, 04:57 AM
TDO2000 TDO2000 is offline
Registered User
TDO2000's Avatar
Join Date: Jul 2001
Location: Germany
Posts: 655
TDO2000 is on a distinguished road
u could also use setshape ^_^
__________________
No Webhost at the moment
Reply With Quote
  #11  
Old 02-02-2002, 05:11 AM
TDK_RC6 TDK_RC6 is offline
Registered User
TDK_RC6's Avatar
Join Date: Jan 2002
Location: Earth
Posts: 0
TDK_RC6 is on a distinguished road
do you mean setshape2??
__________________
Staff on Renegade


email: [email protected]
aim: papivicente
Reply With Quote
  #12  
Old 02-02-2002, 06:05 AM
Dustey Dustey is offline
Registered User
Join Date: Nov 2001
Location: Do You Think I Know?
Posts: 193
Dustey is on a distinguished road
Send a message via AIM to Dustey
Cool

thx all, this really helped
__________________
And Yes I work For.... Renegade
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 07:32 PM.


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