Aschbourne_PRC8/_module/enter_battle.nss
GetOffMyYarn 8622e5ce08 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
2024-08-30 10:38:04 -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);
}