How to use global variables in objectives?

Post » Sat Nov 17, 2012 1:31 pm

I'm trying to use a global variable named TOSBearTotal in an objective. The following seems to work for FreeformIvarstead03 (Grin and Bear it):
I tried but I keep getting an ellipses in brackets: [...]
How does one use global variables in an objective?
User avatar
Hearts
 
Posts: 3306
Joined: Sat Oct 20, 2007 1:26 am

Post » Sat Nov 17, 2012 7:09 pm

You need two more things. First you need to add your Global to the Global List of your Quest, right in the first Quest tab.

Then you need to use UpdateCurrentInstanceGlobal(TOSBearCount) in a Quest script for each TOSBearCount value change.
User avatar
Sam Parker
 
Posts: 3358
Joined: Sat May 12, 2007 3:10 am


Return to V - Skyrim