/** enter_battle OnEnter: Starts the fighting when the first PC enters the battle. If we don't delay the start of the battle, things might be in a really wierd state by the time a player actually arrives. J.D. Robertson, 2002 */ void main() { object enterer = GetEnteringObject(); if (GetIsPC(enterer)) SetLocalInt(OBJECT_SELF, "BattleStarted", TRUE); }