Jump to content

[LE] Global Variable in Quest Objectives


Recommended Posts

Hi all. I'm trying to do a collection task, but I can't do it.
I add player as Quest Alias and add script on it thats contains

Event OnItemAdded(Form akBaseItem, int aiItemCount, ObjectReference akItemReference, ObjectReference akSourceContainer)
if AARAQ.GetStage() < 20 && akBaseItem == RavenBlueFlower
AARavenFlowers.Value += 1
AARAQ.ModObjectiveGlobal(1, AARavenFlowers, 10)
elseif AARavenFlowersTotal == AARavenFlowers
AARAQ.SetStage(20)
endif
endEvent


and added in objective the line (<Global=AARavenFlowers>/<Global=AARavenFlowersTotal>)
where AARavenFlowers is amount what i collected now and second is total what i needed.

But in the game in objective i see only [...]\[...]
and script doesn't work

maybe someone can help me? Thanks

Yea i already searched by guides in internet, but only what i found is guides for fallout 4 :huh:
Link to comment
Share on other sites

In the Quest Data tab (first tab in a quest) you'll see in the bottom: Text Display Globals. You need to add your globals there, otherwise the quest tool has no idea what you are actually asking it to do.

Link to comment
Share on other sites

In the Quest Data tab (first tab in a quest) you'll see in the bottom: Text Display Globals. You need to add your globals there, otherwise the quest tool has no idea what you are actually asking it to do.

Thanks!

Link to comment
Share on other sites

In the Quest Data tab (first tab in a quest) you'll see in the bottom: Text Display Globals. You need to add your globals there, otherwise the quest tool has no idea what you are actually asking it to do.

 

Holy moly! I had the exact same problem on four different quests! It got so bad that I tore three of them apart and restructured them entirely! This was the solution the whole time!?

 

Good thing I haven't dismantled the fourth one yet--this may just save it!

 

heart-love.gif

Edited by Lollia
Link to comment
Share on other sites

  • Recently Browsing   0 members

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