Difference between revisions of "GetQuestVariable"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>Bruneauinfo
imported>Bruneauinfo
 
Line 7: Line 7:
  QuestName.VarName
  QuestName.VarName


====Notes====


*Apparently through testing the QuestName reference requires quotes around it to function properly. Testing this with setting a variable to the value of the reference using quotations around the reference does not appear work.
'''This does not appear to work:'''
<pre>
set QuestName to "MyQuest"
set MyVariable to QuestName.VarName
</pre>
'''This does work:'''
<pre>
set MyVariable to "MyQuest".VarName
</pre>


==See Also==  
==See Also==  

Latest revision as of 08:53, 24 December 2010

Returns the value of a quest variable.


NOTE: This is ONLY a condition function. In order to get the value of a quest variable in a script, there is no need for a function. Just use the syntax:


QuestName.VarName


See Also[edit | edit source]