a)
Ok, I am using three effect emmitters with a OnHeartbeat script. Script does the following:
if (GetLocalInt(OBJECT_SELF,"LORD_EMITTER_ACTIVATED"))
return;
SetLocalInt(OBJECT_SELF,"LORD_EMITTER_ACTIVATED",TRUE);
string sTag = GetTag(OBJECT_SELF);
if (sTag == "lordo_em_dark")
{
effect eEff = EffectVisualEffect(VFX_DUR_DARKNESS);
ApplyEffectToObject(DURATION_TYPE_PERMANENT, eEff, OBJECT_SELF);
}
// more lines with elseif for different effects
How can I call them up without using that OnHeartbeat script? The area is established, and entered by a normal transistion. Thus, I cannot simply write a teleportation script wich calls them up, as the area has three access points and I do not have the temple area in mikona from wich the area is accessed.
How can I do this?
b)
I have an area, wich I access with a script wich jumpes the character there. In that script, I have a line wich starts an effect emmitter:
ApplyEffectAtLocation(DURATION_TYPE_PERMANENT, EffectAreaOfEffect(AOE_PER_FOGMIND), GetLocation(GetObjectByTag("ToAM_lordo_em_fogm_1")));
When I had this started by a onHeatbeat, the effect was fog only. Now the mindfog is there as spell, dazing people..
