antstubell Posted September 6, 2012 Share Posted September 6, 2012 As title says when the player discovers a dead body, not loots it, I want SetStage to increment. Its a Misc quest and upon being asked to look for the body SetStage(10) is set. I need a script that makes SetStage(20) upon discovering the dead body. Thanks. Link to comment Share on other sites More sharing options...
gasti89 Posted September 6, 2012 Share Posted September 6, 2012 Put this on Stage 10 fragment: RegisterForSingleLOSGain(Game.GetPlayer(), Alias_Corpse.GetReference()) or whatever the corpse alias is called Then put a new quest script (scripts tab) and write this Event OnGainLOS(Actor akViewer, ObjectReference akTarget) Self.SetStage(20) EndEvent Link to comment Share on other sites More sharing options...
antstubell Posted September 6, 2012 Author Share Posted September 6, 2012 Put this on Stage 10 fragment: RegisterForSingleLOSGain(Game.GetPlayer(), Alias_Corpse.GetReference()) or whatever the corpse alias is called Then put a new quest script (scripts tab) and write this Event OnGainLOS(Actor akViewer, ObjectReference akTarget) Self.SetStage(20) EndEventThanks gasti89, I'll give it a try in game in a minute. Don't suppose you'd write me a script that sets a stage when a door is opened. I asked before and a guy sent me some script but it just doesn't work. I'm unsure what properties to set up as well. Even the default onopensetstage script is failing. need help here. Link to comment Share on other sites More sharing options...
Recommended Posts