Aschbourne_PRC8/_module/nss/enter_battle.nss
GetOffMyYarn 69879d6957 Areas and Fixes
Added CCOH and missing areas
Changed some areas to be craftable,
Fixed some on death issues,
Fixed the Gaurd
2024-08-30 11:38:44 -04:00

16 lines
392 B
Plaintext

/**
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);
}