Jump to content

How to Create Quest Variables?


maniacalcoyote

Recommended Posts

I'm trying to add loadout options for Operation Anchorage (with TTW), but I can't find the STHaveHW variable for the Strike Team quest (Use: DLC02StrikeTeam.STHaveHW); I'm trying to add a few new variables for new loadouts, but can't find the spot to add the variables to the scripts. Is there a spot they're declared in that I can add stuff to?

Link to comment
Share on other sites

You declare variables of all types at the beginning of the script, below the "SCN <scriptname>" line and before the first "BEGIN" block or their first use. If you wish the variable to be "global" then you define it in a quest script which is supposed to still be running. (This might be why you aren't finding it. It's common to declare such "globals" in an always running upon load quest script dedicated solely to that purpose.) Otherwise it is local in scope to other types of scripts.

 

Please see the "Scripting" section of the wiki "Getting started creating mods using GECK" article for tutorials and Tips.

 

-Dubious-

Link to comment
Share on other sites

  • Recently Browsing   0 members

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