![]() |
some questions...
if i use a normal npc:
NPC Code: do that work if the player r in another levl or if he logged off? k next: if this npc is a weapon and use getplayer() will that work? and iz noplayeronwall; so that if no player onwall the loop dont stop also: NPC Code: or how? k the next X_x can i change the this.vars/strings change with the npc server? and can //#CLIENTSIEDE npcs reda level.vars and this.strings ? or do they don't work... plz help me i have never use a npc server :( |
Your script will work if the player is online & some one chats in that level...
noplayeronwall is for NPCs no not include the player as a wall useing a onwall() check.... You can change this.vars/strings with a NPC server if the strings are server side Im not sure about level.vars but i know that you can not cross read/edit a var as in if you set this.var=1 you can not read it client side & vise-versa |
Quote:
Jagen: Level.vars can be accessed (Read and write) only by a serversided scrips accross the whole level |
can u make a example with noplayeronwall;
and i thing the npc server iz uber kewl :) do setimg string; only work @ //#CLIENTSIDE? //Edit do this.strings on weapons save in the player? |
i dono how to show noplayeronwall as ive never used it before....
this.vars are never saved to the player & when they are clientside(ie weapons) they are never saved at all... |
noplayeronwall just disables onwall for the player i think correct me if im wrong someone
Edit: What server do you work for? |
noplayeronwall
it's used for the 2k1 elephant... that means if it's not used a player is like a wall, you can't run trough him if noplayeronwall is active onwall is fasle for players so they do not block the npc ^-^ |
I was right i think :D
|
thx tdo, also so will the npc ignore the player as a wall :)
|
yes i think so
|
| All times are GMT +2. The time now is 10:52 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.