IvanD Posted March 12, 2018 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 Share Posted March 12, 2018 Something like this. OnInit: setarray [email protected][0],1039,1272,1583; set [email protected],(getarraysize([email protected])); end; if (killedrid == [email protected][[email protected]]) { getmapxy([email protected]$,[email protected],[email protected],UNITTYPE_PC); monster [email protected]$,[email protected]+rand(1,9),[email protected]+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([email protected]$,[email protected],[email protected],UNITTYPE_PC); monster [email protected]$,[email protected]+rand(1,9),[email protected]+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 Author Share Posted March 13, 2018 (edited) 20 hours ago, WhiteEagle said: Something like this. OnInit: setarray [email protected][0],1039,1272,1583; set [email protected],(getarraysize([email protected])); end; if (killedrid == [email protected][[email protected]]) { getmapxy([email protected]$,[email protected],[email protected],UNITTYPE_PC); monster [email protected]$,[email protected]+rand(1,9),[email protected]+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([email protected]$,[email protected],[email protected],UNITTYPE_PC); monster [email protected]$,[email protected]+rand(1,9),[email protected]+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...
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