Guest Messenjah Posted March 27, 2013 Share Posted March 27, 2013 (edited) <p>So, I'm trying to get back into Skyrim modding and started re-working some of my scripts today.</p><p> </p><p>Here is my dillema:</p><p> </p><p><code>Scriptname ASXProstSexTriggerSCRIPT extends ObjectReference <br /><br />Quest Property ProstQuest Auto<br /><br />Actor Property NPC01 Auto <br /><br />Actor Property NPC02 Auto <br /><br />Actor Property NPC03 Auto <br /><br />Event OnTriggerEnter ( ObjectReference NPC01)<br /> if (NPCQuest.GetStage() == 10)<br /> NPCQuest.SetStage(20)<br /> Endif<br />EndEvent</code></p><p> </p><p> </p><p> </p><p>So the issue is that I need the OnTriggerEnter event to check if NPC01 OR NPC02 OR NPC03 enter the trigger box. Normally, this is how I would do it:</p><p> </p><p><code>Event OnTriggerEnter NPC01REF || NPC02REF || NPC03REF</p><p> if (NPCQuest.GetStage() == 10)<br /> NPCQuest.SetStage(20)<br /> Endif<br />EndEvent</code></p><p> </p><p>However, this doesn't seem to work... how do I accomplish this?</p><p> </p><p>Also, I have another question... I have a quest with a script attached but somehow it ended up with an extra script attached to it. I try to remove the script but for some reason, it keeps coming back. If I manually delete the script from the script folder/directory, it will then keep asking for the script and the quest will have errors. How do I remove this script completely?</p> Edited March 27, 2013 by Messenjah Link to comment Share on other sites More sharing options...
Recommended Posts