[project1dev] Re: Project1 - SVN Update 57

  • From: Alan Wolfe <alan.wolfe@xxxxxxxxx>
  • To: project1dev@xxxxxxxxxxxxx
  • Date: Mon, 27 Apr 2009 22:54:02 -0700

oh i forgot, i commented out the minecart for now until eric has a lower
vert version.  sorry for jumping the gun, the load time was pretty bad.

On Mon, Apr 27, 2009 at 10:52 PM, Apache User

> 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   Scripts/Enemies/miner.lua
> U   Scripts/Enemies/newminer.lua
> U   Scripts/cavemap.lua

Other related posts: