OnPackageEnd as a fragment

Post » Sat Oct 26, 2013 11:59 am

How can I make this Event as a quest stage fragment. This is the wiki example:

Event OnPackageEnd(Package akOldPackage)  Debug.Trace("We just stopped running the " + akOldPackage + " package")endEvent

I want to wait for a package to end before a quest advances but the above as a fragment doesn't compile. Thanks.

User avatar
Hayley O'Gara
 
Posts: 3465
Joined: Wed Nov 22, 2006 2:53 am

Post » Sat Oct 26, 2013 11:45 am

OnPackageEnd is from the Actor Script it cannot be used within a quest fragment, you will have to create a reference alias with the actor you wish to monitor and then attach a script with this event onto the Reference Alias (You could also use the actor directly if you wished or Active Magic Effects depending on how you wish to monitor it.)

Then it would be the simple matter of advancing the stage of the quest within the Event(That is what you are trying to achieve right?)

User avatar
Angela
 
Posts: 3492
Joined: Mon Mar 05, 2007 8:33 am

Post » Sat Oct 26, 2013 4:50 pm

Ok, think I got that. Script requires a PreReqStage Prop, Quest Prop, Package Prop and I'll run it directly on the actor.

User avatar
Alex Blacke
 
Posts: 3460
Joined: Sun Feb 18, 2007 10:46 pm


Return to V - Skyrim