Jump to content

Recommended Posts

Posted

I'm trying to convert an old script from Fallout New Vegas to Fallout 4, most of which I've had no issues with but I've been avoiding all of the quests and scripts with the "GetObjectiveDisplayed" or "GetObjectiveCompleted" from Fallout 4's GECK because I'm unsure how to properly convert them to Fallout 4's Creation Kit syntax because there is no longer a "GetObjectiveDisplayed" or "GetObjectiveCompleted" option. With everything else I've had success using "GetStage", "GetQuestCompleted", "GetQuestRunning", etc. Most of the FNV / F4 stuff is easily able to be converted but everything with objectives is weird for some reason.

Here's the code I'm trying to convert to Fallout 4's Creation Kit. This is from Fallout New Vegas's GECK but as I mentioned "GetObjectiveDisplayed" and "GetObjectiveCompleted" don't exist in Creation Kit:

if getobjectivedisplayed vmq01 36 == 0 && getobjectivedisplayed VMQ01 34 == 0 && getobjectivedisplayed VMQ01 38 == 0 && VMQ01.bPrimmClosed == 0
 setobjectivedisplayed VMQ01 34 1
endif
setobjectivecompleted VMQ01 30 1
if nVPrimmDeputyConv.DeputyHostage == 0
	set nVPrimmDeputyConv.DeputyHostage to 1
endif
setStage nvPrimmDeputyConv 20

PS: I've looked everywhere online so I promise I wouldn't be wasting anybody's time if I hadn't. I haven't been modding F4 nearly as long as I've been modding FNV.

Posted
15 hours ago, pepperman35 said:

Try looking here:  The Creation Kit Wiki under the Papyrus Scripting Reference section you'll find IsObjectiveDisplayed and IsObjectiveCompleted.  These might be the droids you are looking for.  Happy Modding and welcome to the forums.

Awesome thanks! I have it working now great in the scripts. Where I still can't seem to figure it out is in the actual Conditions for dialogue.

So like in FNV it shows GetIsId, GetObjectiveDisplayed, GetObjectiveCompleted, GetQuestVariable, GetIsSex and I have it in F4 as GetIsId, ???,  ???, GetVMQuestVariable, GetIsSex

It seems this is the last piece to the puzzle. Just can't seem to find it on the dropdown for conditions.

  • Recently Browsing   0 members

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