Foob Posted September 12, 2019 Group: Members Topic Count: 46 Topics Per Day: 0.02 Content Count: 267 Reputation: 40 Joined: 01/19/17 Last Seen: April 16 Share Posted September 12, 2019 As the title says, how to check if MVP mob is summoned on a map? The script mobcount doesn't count. Quote Link to comment Share on other sites More sharing options...
0 Radian Posted September 12, 2019 Group: Members Topic Count: 162 Topics Per Day: 0.04 Content Count: 1546 Reputation: 192 Joined: 07/23/14 Last Seen: June 24, 2024 Share Posted September 12, 2019 @mobsearch ? or what do you mean by check if the MVP monster is summoned on the map? is it like an announcement that the monster was respawn? Quote Link to comment Share on other sites More sharing options...
0 Foob Posted September 12, 2019 Group: Members Topic Count: 46 Topics Per Day: 0.02 Content Count: 267 Reputation: 40 Joined: 01/19/17 Last Seen: April 16 Author Share Posted September 12, 2019 16 minutes ago, Radian said: @mobsearch ? or what do you mean by check if the MVP monster is summoned on the map? is it like an announcement that the monster was respawn? Sorry incomplete question. Via script cause I'm planning to create a script wherein if an MVP monster is summoned the PVP mapflag will be on. (example below) mvp_room,0,0 boss_monster Poring 1002,1,3600000,600000,"#mvp_room::OnMobKilled" mvp_room,0,0,0 script #mvp_room -1,{ OnMobKilled: //mapflag pvp disable end; } However, my next problem is that, the checking for the MVP mob once summoned. By chance, do you have an idea how to do it @Radian? Quote Link to comment Share on other sites More sharing options...
0 Radian Posted September 12, 2019 Group: Members Topic Count: 162 Topics Per Day: 0.04 Content Count: 1546 Reputation: 192 Joined: 07/23/14 Last Seen: June 24, 2024 Share Posted September 12, 2019 (edited) The best thing to do with it is to make a label where when the MVP respawns in the map you can use the setmapflag. Edit: maybe make an event script for it? - script respawn_mvp FAKE_NPC,{ switch(rand( getarraysize(.mons$) ) { case 1: // monster1 here case 2: // monster2 here } OnInit: setarray .mons$, 1002, 1003; end; } Edited September 12, 2019 by Radian Quote Link to comment Share on other sites More sharing options...
0 Foob Posted September 12, 2019 Group: Members Topic Count: 46 Topics Per Day: 0.02 Content Count: 267 Reputation: 40 Joined: 01/19/17 Last Seen: April 16 Author Share Posted September 12, 2019 1 hour ago, Radian said: The best thing to do with it is to make a label where when the MVP respawns in the map you can use the setmapflag. Edit: maybe make an event script for it? - script respawn_mvp FAKE_NPC,{ switch(rand( getarraysize(.mons$) ) { case 1: // monster1 here case 2: // monster2 here } OnInit: setarray .mons$, 1002, 1003; end; } Not possible via event script. Since I want to use the tomb thus I'm using the normal monster spawn with boss_monster for it. Somehow the missing part is how to check if the mob is alive. Quote Link to comment Share on other sites More sharing options...
0 Emistry Posted September 15, 2019 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2369 Joined: 10/28/11 Last Seen: Sunday at 05:32 PM Share Posted September 15, 2019 (edited) you can follow the way how lhz mvp are summoned to control the pvp on/off. npc/re/mobs/dungeons/lhz_dun.txt however this will render your convex mirror into useless since monster spawn by script doesn't have the required "boss_monster" flag. using the permanent monster spawn script like above cant do what you want. Edited September 15, 2019 by Emistry Quote Link to comment Share on other sites More sharing options...
Question
Foob
As the title says, how to check if MVP mob is summoned on a map?
The script mobcount doesn't count.
Link to comment
Share on other sites
5 answers 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.