12 lines
481 B
Plaintext
12 lines
481 B
Plaintext
|
void main()
|
||
|
{
|
||
|
if (!GetLocalInt(OBJECT_SELF, "hls_invis"))
|
||
|
{
|
||
|
//leave it here rather than add the one time loop to EVERY creature through a OS script change
|
||
|
ApplyEffectToObject(DURATION_TYPE_PERMANENT, EffectVisualEffect(VFX_DUR_CUTSCENE_INVISIBILITY), OBJECT_SELF);
|
||
|
ApplyEffectToObject(DURATION_TYPE_PERMANENT, EffectCutsceneGhost(), OBJECT_SELF);
|
||
|
SetLocalInt(OBJECT_SELF, "hls_invis",1);
|
||
|
}
|
||
|
ExecuteScript("nw_ch_ac1", OBJECT_SELF);
|
||
|
}
|