HoS_PRC8/_mod/_module/nss/oe_underwaterar.nss
Jaysyn904 04165202c0 Initial upload
Initial upload
2024-11-25 19:36:07 -05:00

11 lines
302 B
Plaintext

// oe_underwaterar - Underwater area enter
#include "underwater_h"
void main()
{
object oPC=GetEnteringObject();
if (GetIsPC(oPC)) ExecuteScript("area_visit",oPC);
EnterUnderwaterArea(oPC);
if (GetNearestObjectByTag("IS_OCEAN",oPC)!=OBJECT_INVALID) ExecuteScript("spawn_ocean",oPC);
}