simplemhan Posted March 22, 2012 Posted March 22, 2012 npc 'Guide#Mini' already has a chatroom, cannot create new one. heres my script: animeresort,170,196,6 script Guide#mini 832,22,22,{ OnInit: waitingroom "Mini - Games Event Room",20,"Guide#mini::OnMiniwarp",1; enablewaitingroomevent; end; OnMiniwarp: warpwaitingpc "turbo_room", 128, 91; disablewaitingroomevent; end; OnStart: enablewaitingroomevent; end; } Quote
Aerie Posted March 22, 2012 Posted March 22, 2012 Please use codebox for your script. animeresort,170,196,6 script Guide#mini 832,22,22,{ If you don't use OnTouch label it's useless to wrote 22,22 If you're only looking for a warp, I think yhis will be enough ... animeresort,170,196,6 script Guide#mini 832, { end; OnInit: waitingroom "Mini - Games Event Room",20,"Guide#mini::OnMiniwarp",1; end; OnMiniwarp: warpwaitingpc "turbo_room", 128, 91; end; } For you error, it can comes from the fact that if you clicking in the NPC it'll launch the OnInit part, you have to put a end; first. Quote
Question
simplemhan
npc 'Guide#Mini' already has a chatroom, cannot create new one.
heres my script:
animeresort,170,196,6 script Guide#mini 832,22,22,{
OnInit:
waitingroom "Mini - Games Event Room",20,"Guide#mini::OnMiniwarp",1;
enablewaitingroomevent;
end;
OnMiniwarp:
warpwaitingpc "turbo_room", 128, 91;
disablewaitingroomevent;
end;
OnStart:
enablewaitingroomevent;
end;
}
2 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.