2023-09-11 17:11:52 -05:00
|
|
|
/*
|
|
|
|
* Script generated by LS Script Generator, v.TK.0
|
|
|
|
*
|
|
|
|
* For download info, please visit:
|
|
|
|
* http://nwvault.ign.com/View.php?view=Other.Detail&id=1502
|
|
|
|
*/
|
|
|
|
// Put this OnHeartbeat.
|
|
|
|
// Will abort (do nothing) if fighting or talking or if no PCs are in the area.
|
|
|
|
|
|
|
|
|
|
|
|
void main()
|
|
|
|
{
|
|
|
|
effect eVFX;
|
|
|
|
object oSelf = OBJECT_SELF;
|
|
|
|
|
|
|
|
// Only fire once.
|
|
|
|
if ( GetLocalInt(GetModule(), "DO_ONCE__" + GetTag(OBJECT_SELF)) )
|
|
|
|
return;
|
|
|
|
// Apply a visual effect.
|
|
|
|
eVFX = SupernaturalEffect(EffectVisualEffect(VFX_DUR_CUTSCENE_INVISIBILITY));
|
|
|
|
ApplyEffectToObject(DURATION_TYPE_PERMANENT, eVFX, oSelf);
|
2023-11-17 01:59:49 -06:00
|
|
|
DelayCommand (19.0, SetLocalInt(GetModule(), "DO_ONCE__" + GetTag(OBJECT_SELF), TRUE));
|
2023-09-11 17:11:52 -05:00
|
|
|
}
|
|
|
|
|