Jump to content

[LE] Trying to set up a forcegreet package - need help


Recommended Posts

I'll start by saying, I'm pretty new to modding, I've looked all over youtube/reddit/creationkit wiki, etc and found nothing. So any help would be greatly appreciated.

I'm trying to set it up so that the ForceGreet only fires at a certain stage in my quest (stage 50).

 

What I want to happen is the following:

 

Stage 0 - Quest starts.

Stage 10 - Courier gives player a note.

Stage 20 - note tells player to talk with an NPC in Old Hroldan.

Stage 30 - Player approaches the NPC and starts the conversation, after the first bit of dialogue it updates to Stage 40.

Stage 40 - NPC gets the player to follow him outside (through a load door). This is working, I used an Escort package to do this.

Stage 50 - The NPC reaches his destination and then fires the ForceGreet, confronting the player with his sword drawn.

 

Stages 0 to 40 seem to be working perfectly.

 

Here are the issues I'm having:

 

A) I don't know how to get move the quest from stage 40 to 50,

 

&

 

B) the NPC just doesn't forcegreet the player if I have conditions set-up and obviously if I take off the conditions the NPC will initiate the Forcegreet package before the player has even spoken to the NPC during stage 30.

 

Here are some screenshots - I don't know if they'll help or not:

 

https://gyazo.com/c4c1433534f60af0cdd8e1ceed021d37

 

https://gyazo.com/d838ef9f96b480013c40c00e212c829f

 

https://gyazo.com/5b8cc7c8bb3fe90234331a24d2027234

 

https://gyazo.com/0f0fc227e51aa931238c561a4d43b1af

 

https://gyazo.com/026330f1aeac8931c605d2d4a5fa76ea

 

https://gyazo.com/9ca936708244b4a5a06aebed0c324c10

 

https://gyazo.com/a10245926204e63226525fb8d1e5353f

Link to comment
Share on other sites

Maybe you could place a trigger to the location where the npc is going, enable it at stage 40. It should have a script attached to it that's something like this:

 

 

Quest Property YourQuest  Auto
Actor Property NPC  Auto
 
Event OnTriggerEnter(ObjectReference AkActivator)

    If(game.getPlayer()==AkActivator && YourQuest.GetStage() == 40)
       YourQuest.SetStage(50)
       NPC.EvaluatePackage()
    Endif
EndEvent

The condition for the forcegreet package should be for the quest to be at stage 50 and make sure that it's on top of the AI stack.

Link to comment
Share on other sites

Maybe you could place a trigger to the location where the npc is going, enable it at stage 40. It should have a script attached to it that's something like this:

Quest Property YourQuest  Auto
Actor Property NPC  Auto
 
Event OnTriggerEnter(ObjectReference AkActivator)

    If(game.getPlayer()==AkActivator && YourQuest.GetStage() == 40)
       YourQuest.SetStage(50)
       NPC.EvaluatePackage()
    Endif
EndEvent

The condition for the forcegreet package should be for the quest to be at stage 50 and make sure that it's on top of the AI stack.

 

Thank you! I managed to get it working :)

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...