Jump to content
  • 0

Question

8 answers to this question

Recommended Posts

Posted (edited)
OnNPCKillEvent:
if (killedrid==2010) {
pcblockmove getcharid(3),1;
sleep2 5000
pcblockmove getcharid(3),0;
}
end;

What do you mean by "freeze"?

Is it to stop the player movement, or is it frozen in ice?

Edited by nanakiwurtz
Posted (edited)

But honestly, I think it will be easier to script like this:

prontera,155,180,3	script	Popo	1031,{

areamonster "prontera",150,175,160,185,"Poporing",1031,10,"Popo::OnWrongKill";

areamonster "prontera",150,175,160,185,"Poporing",1031,1,"Popo::OnRightKill";

npctalk "Find the correct Poporing to receive the reward!";

end;

OnWrongKill:

areamonster "prontera",150,175,160,185,"Poporing",1031,1,"Popo::OnWrongKill";

atcommand "@die";

dispbottom "You kill the wrong Poporing!";

end;

OnRightKill:

killmonster "prontera","Popo::OnWrongKill",1031;

announce strcharinfo(0)+" has killed the right Poporing!",0;

getitem 501,1;

end;

}

Edited by nanakiwurtz

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...