• 0
domez86

variable if: all mob kill in current map

Question

hi, I need the "variable if":
if all the mobs on the current map are dead.
ex:

----------------------------------------------------------------

mes: now I evoke the first 3 mobs:
atcommand "@monster xxxx 3";
if (all mobs killed in current map)
mes: now I evoke 4 more mobs:
atcommand "@monster xxxx 4";

----------------------------------------------------------------

thanks.

Share this post


Link to post
Share on other sites

1 answer to this question

Recommended Posts

  • 0

here is the example

areamonster "ordeal_1-1",183,182,246,244,"[DS] BYORGUE",1839,10,"DS_HiddenNpc::Ondevildead";

Ondevildead:
    set [email protected],[email protected] - 1;
    if([email protected] == 15) mapannounce "ordeal_1-1","Guardian : 10 mobs to enter the 2nd round",0;
    if([email protected] == 5) mapannounce "ordeal_1-1","Guardian : 5 mobs to enter 2nd round",0;
    if([email protected] == 0) { 
        mapannounce "ordeal_1-1",Guardian will enter to 2nd round",0;
        goto Ondevil2;
    }
    end;

Share this post


Link to post
Share on other sites

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.

Loading...