Jump to content

Recommended Posts

Posted (edited)

there is another error in the script you wrote the myquest variable differently in the property declaration from the SetStage line (myQuest) These need to be the same.
The second script you posted also doesn't check for stage 10 anymore (assuming this was done for testing).

Edited by LoneRaptor
Posted

 

 

there is another error in the script you wrote the myquest variable differently in the property declaration from the SetStage line (myQuest) These need to be the same.

i dont understand

 

 

 

The second script you posted also doesn't check for stage 10 anymore (assuming this was done for testing).

no i just kinda gave up on that, assuming the player wont be in this area before they need to be.

 

Posted

Like this:

 

Scriptname DFLTOonTriggerEnter extends ObjectReference

scene property myscene auto
quest property myquest auto
int property nextStage auto

Event OnTriggerEnter(ObjectReference akTriggerRef)
    if akTriggerRef == Game.GetPlayer() && myquest .GetStage() == 10  ;changed myQuest to myquest 
            myquest .SetStage(nextStage)    ; changed myQuest to myquest 
            debug.notification("you entered the trigger area")
        endif
EndEvent

 

try checking the quest stage in game after you get the debug message to confirm it is actually getting changed.

Posted (edited)

its working great.. changes the stage and all that

 

now its my scene that wont play

thats happening in more than one part of the quest

some of my scenes play, some dont.

 

either way, thanks for everything!

Edited by javaplaza
  • Recently Browsing   0 members

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