void main() { if (GetLocalInt(OBJECT_SELF,"donesetup")!=2) { ApplyEffectAtLocation(DURATION_TYPE_INSTANT,EffectAreaOfEffect(AOE_PER_FOGMIND,"jw_mind_smoke","jw_empty_script","jw_empty_script"),GetLocation(GetObjectByTag("jw_invis_dark"))); //SetLocalInt(OBJECT_SELF,"doors",1); SetLocalInt(OBJECT_SELF,"donesetup",2); } }