View Single Post
  #6  
Old 06-01-2001, 12:09 PM
Bravo_NPC-Admin1 Bravo_NPC-Admin1 is offline
Registered User
Join Date: May 2001
Location: Olympia, Washington USA
Posts: 25
Bravo_NPC-Admin1 is on a distinguished road
Send a message via AIM to Bravo_NPC-Admin1 Send a message via Yahoo to Bravo_NPC-Admin1
Unhappy Problem is NPC variables

I modifed my code:
NPC Code:

// NPC made by Boco
if (playerenters) {
test=1;
this.test=1;
level.test=1;
client.test=1;
server.test=1;
//If return's 1, then it works. If 0, then brokey
say2
Normal is #v(test)#b
Level is #v(level.test)#b
NPC-Only is #v(this.test)#b
Client is #v(client.test)#b
Server is #v(server.test);
}



I tested all forms of the variable, and these are my results. I ran the test NPC and a sign popped up saying:

Normal is 1
Level is 1
NPC-Only is 0
Client is 1
Server is 1

this.variables are the only ones that don't work right. #s(this.variables) work, but for some reason, they don't with #v()... I am pretty sure this is a bug. Should I post this on the bug board now?
__________________
-Boco
Reply With Quote