Niether, I just don't want the "Ghostly Visage" effect that it has when it spawns in to be dispelled. Checking the Immortal box does not stop this. I can check the plot box which stops any dispelling but then the "Ghost" cannot be killed at all. Thus I need a script that a) Apllies the effect to the NPC on spawn and
negates any dispell made on the NPC ineffective.
Anyway, I tried the following to but it did not stop a dispelling [sighs]
/*
SpawnIn script, changes NPC into a ghost
*/
void main()
{
ExecuteScript("sm_c2_default9", OBJECT_SELF);
// Start The relevant stuff
effect vfx;
vfx = EffectVisualEffect(VFX_DUR_GHOSTLY_VISAGE);
vfx = SupernaturalEffect(vfx);
ApplyEffectToObject(DURATION_TYPE_PERMANENT, vfx, OBJECT_SELF);
// End The relevant stuff
}
Modifié par Grieyls, 22 août 2010 - 07:25 .