Aller au contenu

Photo

Unlocking Custom Codex Entries


  • Veuillez vous connecter pour répondre
2 réponses à ce sujet

#1
Offkorn

Offkorn
  • Members
  • 105 messages
I've been trying the WR_SetPlotFlag with no apparent luck.

Is there a specific command to use to get them to unlock?

#2
Phaenan

Phaenan
  • Members
  • 315 messages
Yep.
WR_SetPlotFlag.  ^_^

You prolly have something else going astray in there, a wrong flag, or a plot of the wrong type (should be one of the "codex - yada") or something.

#3
Offkorn

Offkorn
  • Members
  • 105 messages
EDIT: Turns out I don't need to use a script to unlock it for my purposes. The Default_Value works well enough.

--------------------------

The plot is definitely the correct type as the category has had a blank entry added to it in-game.

I'm attempting to get it to unlock on Module Load. I've tried:

WR_SetPlotFlag(PLT_COD_ITM_ITEMSETS, COD_ITM_ITEMSETS, 0);
WR_SetPlotFlag(PLT_COD_ITM_ITEMSETS, COD_ITM_ITEMSETS, 1);
WR_SetPlotFlag(PLT_COD_ITM_ITEMSETS, 0, 0);
WR_SetPlotFlag(PLT_COD_ITM_ITEMSETS, 1, 0);
WR_SetPlotFlag(PLT_COD_ITM_ITEMSETS, 0, 1);
WR_SetPlotFlag(PLT_COD_ITM_ITEMSETS, 1, 1);
WR_SetPlotFlag(PLT_COD_ITM_ITEMSETS, 0, TRUE);
WR_SetPlotFlag(PLT_COD_ITM_ITEMSETS, COD_ITM_ITEMSETS, TRUE);

All have failed.

Modifié par Offkorn, 09 décembre 2009 - 01:34 .