22 lines
645 B
Plaintext
22 lines
645 B
Plaintext
|
//::///////////////////////////////////////////////
|
||
|
//:: Name Area clean-up system
|
||
|
//:: FileName ld_area_enter.nss
|
||
|
//:://////////////////////////////////////////////
|
||
|
/*
|
||
|
Place this script in the area onenter event
|
||
|
*/
|
||
|
//:://////////////////////////////////////////////
|
||
|
//:: Created By: Lord Delekhan
|
||
|
//:: Created On: June 14, 2002
|
||
|
//:: Updated On: September 19, 2004
|
||
|
//:://////////////////////////////////////////////
|
||
|
|
||
|
void main()
|
||
|
{
|
||
|
object oArea = GetArea(OBJECT_SELF);
|
||
|
object oEntering = GetEnteringObject();
|
||
|
if(GetIsPC(oEntering))
|
||
|
{SetLocalInt(oArea,"InPlay",TRUE);
|
||
|
SetLocalInt(oEntering,"IsPC",TRUE);}
|
||
|
}
|