domez86 Posted October 26, 2019 Group: Members Topic Count: 85 Topics Per Day: 0.02 Content Count: 207 Reputation: 0 Joined: 06/11/13 Last Seen: July 11, 2020 Share Posted October 26, 2019 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. Quote Link to comment Share on other sites More sharing options...
0 BeWan Posted November 9, 2019 Group: Members Topic Count: 20 Topics Per Day: 0.01 Content Count: 403 Reputation: 249 Joined: 07/04/19 Last Seen: 22 hours ago Share Posted November 9, 2019 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; Quote Link to comment Share on other sites More sharing options...
Question
domez86
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
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.