![]() |
Can...
how do save[] vars work? can they be used online?:confused:
|
i dont know i never actually ment to put can but sorry if i offended your forum:(
|
no so i can do like
IF (created) { save[YES]=1; } |
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.
|
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 ^_^
|
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 =/
|
instead of using "show;" and "hide;" use "showlocal" and "hidelocal;"
|
Quote:
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 |
you could use dontblock and drawunderplayer
that is a simple way to do it |
u could also use setshape ^_^
|
do you mean setshape2??
|
thx all, this really helped:D
|
All times are GMT +2. The time now is 12:06 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.