Topic
:
NPC code: offline editor
View Single Post
05-05-2012
1
Dude1310
Levels<3
Join Date: Dec 2011
Location: Fairfax, Virginia
Posts: 997
NPC code: offline editor
I added this code to an npc i made:
PHP Code:
function
onPlayerChats
() {
if (
player
.
chat
==
"open"
) {
hide
;
sleep 10
;
show
;}}
whenever i play the level in offline editor and make my character say open, the npc doesnt hide..nothing happens, why?
Dude1310
View Public Profile
Send a private message to Dude1310
Find More Posts by Dude1310