Thread: This. again
View Single Post
  #6  
Old 11-03-2001, 03:10 AM
LiquidIce00 LiquidIce00 is offline
RadioActive Monkeeh
LiquidIce00's Avatar
Join Date: Apr 2001
Location: dirty south
Posts: 2,112
LiquidIce00 is on a distinguished road
Send a message via ICQ to LiquidIce00 Send a message via AIM to LiquidIce00 Send a message via Yahoo to LiquidIce00
if you have 2 npc's one is like

if (playerenters) { on=1; }

then the other

if (playerenters) { on=2; }

they would confuse each other, because they would be sharing it, but if you have

if (playerenters) { this.on=1; }

then the other

if (playerenters) { this.on=2; }

then on for the 1st script would be 1 and on for the 2nd script would be 2 .. they would be variables for the npc itself
__________________
LiquidIce *Owner* (UnholyNation)
-UN Website
http://www.unholynation.com
-UN Forum
http://forums.unholynation.com
-
-the thinker
-

-
onwall2 for nonp2p (i suck at onwall)
Reply With Quote