20 lines
293 B
Plaintext
20 lines
293 B
Plaintext
//Put this script OnEnter
|
|
void main()
|
|
{
|
|
|
|
object oPC = GetEnteringObject();
|
|
|
|
if (!GetIsPC(oPC)) return;
|
|
|
|
//Only run once period!
|
|
if(GetLocalInt(OBJECT_SELF, "bling")==1)
|
|
{
|
|
return;
|
|
}
|
|
|
|
object oSelf = OBJECT_SELF;
|
|
|
|
SetLocalInt(oSelf, "bling", 1);
|
|
DelayCommand(0.4, ExecuteScript("bling", oPC));
|
|
}
|