![]() |
NPC Server Questions
Okay, I need to ask a couple of npc server questions b/c i'm converting non p2p npcs to the npc server kinda server side scripts. I scripted for the npc server b4, but it was a way long time ago and i dont remember every detail about the differences between client/server side.
1) If I set a this.variable from the client side part of a script, will the server side part of the script be able to read what I wrote to it? 2) If I change an npc's x/y coordinates from client side, will the npc coordinates be changed globally? 3) Can client.strings be changed from client side? 4) Does triggeraction server side to client side work now? |
Re: NPC Server Questions
1) If I set a this.variable from the client side part of a script, will the server side part of the script be able to read what I wrote to it?
yes. 2) If I change an npc's x/y coordinates from client side, will the npc coordinates be changed globally? no you ave to change it serverside, use triggeraction. 3) Can client.strings be changed from client side? yes 4) Does triggeraction server side to client side work now? no |
thanx past austin =)
ohh, and can client side weapons read or change client.strings too? |
Quote:
Jagen: yes |
Re: Re: NPC Server Questions
Quote:
|
Quote:
Can client weapons access (read-only) server-string/vars? |
database npcs and level npcs are the only things able to edit server.strings
is this true? |
Quote:
For example: Client system checks a server-string for it's player's account name and if that player's account name is in that server string, it does something to the player... Which should I use? I would guess serverr but i've never heard of it... |
Danke ;D
*goes to fix the system* |
serverr.strings??
what in the world are these kai? |
well, hmmm
one more question if you read from serverr.string, will it get the value from server.string?? or is the serverr.string a seperate string all together |
Quote:
that helps a lot easier to access the time ;) i wish i would've known about these earlier |
If I touched this npc that's on an npc server, would the message say "blah blah", or would it be blank? I really don't get what you mean by serverr.strings, and i nevcer heard of it =P, so i'm liek making a test thingy
NPC Code: |
try this
NPC Code: |
true true, sorry didnt think about that
;) |
All times are GMT +2. The time now is 04:04 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.