Initial upload
Initial upload. PRC8 has been added. Module compiles, PRC's default AI & treasure scripts have been integrated. Started work on top hak for SLA / Ability / Scripting modifications.
This commit is contained in:
12
_module/nss/tri_frost_enter.nss
Normal file
12
_module/nss/tri_frost_enter.nss
Normal file
@@ -0,0 +1,12 @@
|
||||
void main()
|
||||
{
|
||||
int nDoOnce = GetLocalInt(OBJECT_SELF, "DO_ONLY_ONCE");
|
||||
if(nDoOnce == 1)
|
||||
return;
|
||||
SetLocalInt(OBJECT_SELF, "DO_ONLY_ONCE", 1);
|
||||
|
||||
object oPC = GetEnteringObject();
|
||||
object oDoor = GetObjectByTag("frost_cave");
|
||||
|
||||
ApplyEffectToObject(DURATION_TYPE_PERMANENT, EffectVisualEffect(VFX_DUR_GLOW_PURPLE), oDoor);
|
||||
}
|
||||
Reference in New Issue
Block a user