Need help with global variables

Post » Tue Feb 12, 2013 7:42 am

I need help with global variables. I took a look at the wiki but it's not answering some basic questions. Here's what i want to do.

In a dialog, based on how the player answers I want to set a global variable available to ALL dialogs AND stages, something like PlayerRomance. If the player doesn't want to romance the companion the variable would be set to 0. If they do it would be set to 1.

Then in each stage the global variable would be checked. If the variable is set to 0 it would bypass certain stages.

Can anyone help me out here? I'm not sure exactly where I need to declare the global variable so that it's available for dialogs and stages.
User avatar
Alycia Leann grace
 
Posts: 3539
Joined: Tue Jun 26, 2007 10:07 pm

Return to V - Skyrim