LoneRaptor Posted September 30, 2019 Share Posted September 30, 2019 (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 September 30, 2019 by LoneRaptor Link to comment Share on other sites More sharing options...
javaplaza Posted September 30, 2019 Author Share Posted September 30, 2019 yeah its working this waybut no matter what i do, my scene won't play. the notifications ARE there.. so thanks for your help on that :) Link to comment Share on other sites More sharing options...
javaplaza Posted September 30, 2019 Author Share Posted September 30, 2019 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. Link to comment Share on other sites More sharing options...
LoneRaptor Posted September 30, 2019 Share Posted September 30, 2019 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. Link to comment Share on other sites More sharing options...
javaplaza Posted September 30, 2019 Author Share Posted September 30, 2019 (edited) its working great.. changes the stage and all that now its my scene that wont playthats happening in more than one part of the questsome of my scenes play, some dont. either way, thanks for everything! Edited September 30, 2019 by javaplaza Link to comment Share on other sites More sharing options...
Recommended Posts