- Does anyone know how to effectively use this script? Mine doesn't seem to want to work. Just simple things like map ejection when requirements are not met, etc etc.
- Heres my code snip.
- script Map Guard:mgr01 -1,{
OnPCLoadMapEvent:
getmapxy(@mapname$,@mapx,@mapy,0);
if(@mapname$ == "xanhart01"){
if(lostinforest!=2) warp "prontera",141,229;
end;
}
if(@mapname$ == "xan_fild01"){
if(forestfallen==1)end;
dispbottom "You wake up in a mysterious forest";
set forestfallen,1;
end;
}
end;
}
xanhart01 mapflag loadevent
xan_fild01 mapflag loadevent
- Do i have to attachrid? [dont know how to use that]
- Also tried replacing to : if(strcharinfo(3) == "xan_fild01"){
Question
Leehalt
- Does anyone know how to effectively use this script? Mine doesn't seem to want to work. Just simple things like map ejection when requirements are not met, etc etc.
- Heres my code snip.
- Do i have to attachrid? [dont know how to use that]
- Also tried replacing to : if(strcharinfo(3) == "xan_fild01"){
if(forestfallen==1)end;
dispbottom "You wake up in a mysterious forest";
set forestfallen,1;
end;
}
- still doesnt work.
Edited by LeehaltLink to comment
Share on other sites
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.