User:atrix256 Message: Added a new parameter to Mob_Spawn so you can specify the function to call when the mob is defeated in combat. Also added a new parameter to Combat_Enter. You have to pass the MobID of the mob that the player is fighting against when you call Combat_Enter. I converted the scripts that were checked in to add these 2 new parameters but Kent make sure you convert your own script files too so things work ok! This functionality was added so that you can specify a function to call when the boss is killed in battle so that you can start the cave in script stuff after the boss fight. It'll also be useful for other stuff, like if you have to kill 8 bats sometime, we can display the number of bats left on the screen, and every time you kill a group of bats, it calls a function to decriment that number, and do the "you win" logic when that counter is down to zero. <Files Changed> U ARRelease.exe U AR_CombatManager.cpp U AR_CombatManager.h U AR_LuaFuncs.cpp U AR_Map.h U AR_Mobile.cpp U AR_Mobile.h U Docs/Script Help/Combat_Enter.html U Docs/Script Help/Mob_Spawn.html A Docs/Website/042709a.jpg A Docs/Website/042709b.jpg U Docs/Website/index.php U READMETODO.txt U Scripts/Enemies/miner.lua U Scripts/Enemies/newminer.lua U Scripts/cavemap.lua