Area Changes and other fixes
added areas and ccoh, fixed some areas to work with crafting fixed some on death issues added server entry/ooc
This commit is contained in:
@@ -1,19 +0,0 @@
|
||||
/**
|
||||
hb_battle
|
||||
|
||||
OnHeartbeat: Forces this NPC to stay close to a waypoint named DefensePoint
|
||||
|
||||
J.D. Robertson, 2002
|
||||
*/
|
||||
#include "i_battle"
|
||||
void main()
|
||||
{
|
||||
// If too far from your defense point, run back to it
|
||||
if (InBattle() &&
|
||||
TooFarFrom("DefensePoint"))
|
||||
{
|
||||
object waypoint = GetNearestObjectByTag("DefensePoint");
|
||||
ActionDoCommand(ActionForceMoveToObject(waypoint, TRUE, IntToFloat(d6())));
|
||||
ActionDoCommand(SetFacing(GetFacing(waypoint)));
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user