Jump to content
  • 0

variable if: all mob kill in current map


domez86

Question


  • Group:  Members
  • Topic Count:  85
  • Topics Per Day:  0.02
  • Content Count:  207
  • Reputation:   0
  • Joined:  06/11/13
  • Last Seen:  

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.

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  19
  • Topics Per Day:  0.01
  • Content Count:  398
  • Reputation:   246
  • Joined:  07/04/19
  • Last Seen:  

here is the example

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

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

Link to comment
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.

×
×
  • Create New...