Scriptname PnPQuest10Sit extends ObjectReference
ObjectReference Property Player Auto
Quest Property PnPQuest00 Auto
Actor Property PlayerREF Auto
Topic Property PnPQuest00Topic00AB Auto
ReferenceAlias Property PnPBossProposition Auto
Event OnTriggerEnter(ObjectReference akActionRef)
If akActionRef == PlayerRef && PnPQuest00.GetStage() == 5 && Game.GetPlayer().GetSitState() >=3
debug.trace(akActionRef + " has entered the trig")
PnPBossProposition.GetActorRef().Say(PnPQuest00Topic00AB, none, 1)
EndIf
EndEvent
So that's the code but, I think I am using the GetSitState() wrong :(. What I'd like to happen is when all three conditions are met, you enter the trigger, the stage is equal to 5 and you are sitting. My NPC tells the player the topic of my choice without activating said NPC and the quest progresses from there. Does anyone know what I am doing wrong? Any help would be greatly appreciated.