Difference between revisions of "GetQuestVariable"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>Vswe
m (Added Search Terms)
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==  

Revision as of 23:13, 22 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

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:

 set QuestName to "MyQuest"

 set MyVariable to QuestName.VarName

This does work:

 set MyVariable to "MyQuest".VarName

See Also