Jump to content
  • 0

killmonster that player brings whenever he enters map


caspa

Question


  • Group:  Members
  • Topic Count:  194
  • Topics Per Day:  0.04
  • Content Count:  499
  • Reputation:   3
  • Joined:  03/11/12
  • Last Seen:  

-    script    no_mons_woe    -1,{
        end;
	OnInIt:
setarray .map$,"payg_cas03","prtg_cas03","pvp_n_room";
set .map_size,getarraysize ( .map$ );
initnpctimer;
end;

OnPCLoadMapEvent:
OnTimer3000:
for ( set .@i,0; .@i < .map_size; set .@i,.@i+1 ){
getmapxy( .@map$, .@x, .@y, 0, strcharinfo(0) ); 
if ( ( mobcount( .@map$,"poringmonster#18::On"+strcharinfo(0)+"") == 1 ) && ( strcharinfo(3) == .map$[.@i] ) ){
          killmonster.@map$,"poringmonster#18::On"+strcharinfo(0)+"";
                    initnpctimer;
                        end;
                        } else {
                    initnpctimer;
                        end;
                                
                        }
            }
}



hi i would like to request a script whereas when you enter the woe castle and pvp room it would detect the ,"poringmonster#18::On"+strcharinfo(0)+""; and if you have it along with you it would kill the monster... ?

the script above basically provide information of what i'm trying to achieve... thank you for your help...

Link to comment
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...