IvanD Posted March 12, 2018 Group: Members Topic Count: 61 Topics Per Day: 0.02 Content Count: 110 Reputation: 0 Joined: 11/13/17 Last Seen: July 24, 2022 Share Posted March 12, 2018 can anyone make script that if Baphomet,darklord,taogunka died will summon another monsters after killing it? like it will spawn another monster based on monster ID? thanks in advance Quote Link to comment Share on other sites More sharing options...
1 WhiteEagle Posted March 12, 2018 Group: Members Topic Count: 79 Topics Per Day: 0.02 Content Count: 480 Reputation: 67 Joined: 08/28/12 Last Seen: 1 hour ago Share Posted March 12, 2018 Something like this. OnInit: setarray .@mobid[0],1039,1272,1583; set .@m,(getarraysize(.@mobid)); end; if (killedrid == .@mobid[.@m]) { getmapxy(.@map$,.@x,.@y,UNITTYPE_PC); monster .@map$,.@x+rand(1,9),.@y+rand(1,9),"Poring",1002,1; end; } or gl_chyard,0,0,0,0 boss_monster Dark Lord 1272,1,3600000,600000,RandomMvP::OnMvPKill - script RandomMvP -1,{ end; OnMvPKill: getmapxy(.@map$,.@x,.@y,UNITTYPE_PC); monster .@map$,.@x+rand(1,9),.@y+rand(1,9),"Poring",1002,1; end; } 1 Quote Link to comment Share on other sites More sharing options...
0 IvanD Posted March 13, 2018 Group: Members Topic Count: 61 Topics Per Day: 0.02 Content Count: 110 Reputation: 0 Joined: 11/13/17 Last Seen: July 24, 2022 Author Share Posted March 13, 2018 (edited) 20 hours ago, WhiteEagle said: Something like this. OnInit: setarray .@mobid[0],1039,1272,1583; set .@m,(getarraysize(.@mobid)); end; if (killedrid == .@mobid[.@m]) { getmapxy(.@map$,.@x,.@y,UNITTYPE_PC); monster .@map$,.@x+rand(1,9),.@y+rand(1,9),"Poring",1002,1; end; } or gl_chyard,0,0,0,0 boss_monster Dark Lord 1272,1,3600000,600000,RandomMvP::OnMvPKill - script RandomMvP -1,{ end; OnMvPKill: getmapxy(.@map$,.@x,.@y,UNITTYPE_PC); monster .@map$,.@x+rand(1,9),.@y+rand(1,9),"Poring",1002,1; end; } thanks sir it works Edited March 13, 2018 by IvanD Quote Link to comment Share on other sites More sharing options...
Question
IvanD
can anyone make script that if Baphomet,darklord,taogunka died will summon another monsters after killing it? like it will spawn another monster based on monster ID?
thanks in advance
Link to comment
Share on other sites
2 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.