Quest not running.

Post » Fri May 27, 2011 10:56 am

HI all,

Sorry to make another topic so soon. I'm trying to get a quest running so the associated script for that quest will run properly. I'm trying to enable objects within that script. It's set up the same way I did it in Fallout 3. The quest is Start Game Enabled. The script is meant to start on gamemode and so on. It's strange.
User avatar
Chica Cheve
 
Posts: 3411
Joined: Sun Aug 27, 2006 10:42 pm

Post » Fri May 27, 2011 8:47 am

Made a quick test with:

scn testshort doonceBegin GameModeIf doonce == 0	player.additem OutfitBoomer1 1	set doonce to 1EndIfEnd


No troubles at all.
User avatar
Siobhan Thompson
 
Posts: 3443
Joined: Sun Nov 12, 2006 10:40 am

Post » Fri May 27, 2011 6:05 am

I figured out it was actually a scripting problem. I'm not sure what's wrong with this but it won't enable the objects. If I make it really basic and use GetinCell or no if statements at all it will enable but not using this script.

scn SDTrophyQuestScriptbegin gamemodeif (GetQuestCompleted vHDBattleController == 1) 	endifif (GetQuestCompleted VMQ05 ==1) endifif (GetQuestCompleted VMQ02 == 1) 	endifif (GetQuestCompleted VMQHouse8 == 1) endifif (GetQuestCompleted VMQYesMan03 == 1) 	endifif (GetObjectiveCompleted VMQ01 60 == 1)	SDMojaveOutpostRef.Enableendifif ( SDFreeNorthMapMarker.GetMapMarkerVisible == 2 ) 	SDAtomicWranglerRef.Enableendifif ( SDFreeNorthMapMarker.GetMapMarkerVisible == 2 ) 	SDFreesideRef.Enableendifif ( VHeliosONEMapMarkerREF.GetMapMarkerVisible != 0)	SDHeliosRef.Enableendifif ( MojaveOutpostMapMarker.GetMapMarkerVisible == 2) 	SDMojaveOutpostRef.Enableendifif ( NellisMapMarker.GetMapMarkerVisible == 2) 	SDNellisRef.Enableendifif ( NiptonMapMarker.GetMapMarkerVisible == 2) 	SDNiptonRef.Enableendifif ( PrimmMapMarker.GetMapMarkerVisible == 2) 	SDPrimmRef.Enableendifif ( VHeliosONEMapMarkerREF.GetMapMarkerVisible == 2)	SDRepconnRef.Enableendifif ( NovacMapMarker.GetMapMarkerVisible == 2 )	SDNovacRef.Enableendifif ( HiddenValley.GetMapMarkerVisible == 2)	SDHiddenValleyRef.Enableendifif ( JacobstownMapMarker.GetMapMarkerVisible == 2 )	SDJacobstownRef.Enableendifif ( player.GetInCell Gomorrah01 == 1)	SDGomorrahRef.Enableendifif ( GunRunners.GetMapMarkerVisible == 2) 	SDGunRunnersRef.Enableendifif ( VHeliosONEMapMarkerREF.GetMapMarkerVisible == 2) 	SDRedRockRef.Enableendifend

User avatar
Julie Ann
 
Posts: 3383
Joined: Thu Aug 23, 2007 5:17 am

Post » Fri May 27, 2011 2:18 am

I assume that one of the if checks kills your script. Sorry I have no time to research this further.
User avatar
Tasha Clifford
 
Posts: 3295
Joined: Fri Jul 21, 2006 7:08 am

Post » Fri May 27, 2011 3:20 am

I assume that one of the if checks kills your script. Sorry I have no time to research this further.


EDIT: Nevermind. It turns out one of the references was killing the script.
User avatar
Mizz.Jayy
 
Posts: 3483
Joined: Sat Mar 03, 2007 5:56 pm


Return to Fallout: New Vegas