Ok so I had this script working great for a while on a previous server. I tried to implement it to a new server. I modified the MVP array to just add the last 2 mob id's in the array. Which are custom mobs (Ryu and Ken). Anyways the script works as it should, spawns the regular mobs. The only problem is that it is not spawning a random MVP. I'm not sure if it has to do with SVN version or with the custom mobs. Anyways heres what it looks like
This is the array -
OnInit:
setarray $MVPIDs[0],1038,1039,1046,1086,1087,1112,1157,1190,1251,1252,1272,1312,1373,1511,1685,1719,1751,1768,1832,2697,2703;
set $MVPSpawn, $MVPIDs[rand(getarraysize($MVPIDs[0]))];
}
This is the spawn in first wave -
set $@mob,86;
areamonster "ordeal_1-1",183,182,246,244,"Megaman",1504,15,"DS_HiddenNpc::Ondevildead";
areamonster "ordeal_1-1",183,182,246,244,"Orc Archer",1189,20,"DS_HiddenNpc::Ondevildead";
areamonster "ordeal_1-1",183,182,246,244,"Sandman",1165,15,"DS_HiddenNpc::Ondevildead";
areamonster "ordeal_1-1",183,182,246,244,"Archer Skeleton",1016,15,"DS_HiddenNpc::Ondevildead";
areamonster "ordeal_1-1",183,182,246,244,"Minorous",1149,20,"DS_HiddenNpc::Ondevildead";
areamonster "ordeal_1-1",183,182,246,244,"--ja--", $MVPIDs[rand(getarraysize($MVPIDs[0]))],1,"DS_HiddenNpc::Ondevildead";
end;