Difference between revisions of "GetVMQuestVariable"
Jump to navigation
Jump to search
imported>Threedee m (→Example: disambiguation) |
imported>Chesko (Data type requirement.) |
||
Line 5: | Line 5: | ||
==Example== | ==Example== | ||
In order to use a property in dialog conditions, you must use keyword "Conditional" in both scriptname and property. | In order to use a property in dialog conditions, you must use keyword "Conditional" in both scriptname and property. Only int, float, and bool properties can be used in this way. | ||
<source lang="papyrus"> | <source lang="papyrus"> | ||
Scriptname MyQuestScript extends Quest Conditional | Scriptname MyQuestScript extends Quest Conditional |
Latest revision as of 19:34, 29 March 2015
Returns the value of a quest variable.
Example[edit | edit source]
In order to use a property in dialog conditions, you must use keyword "Conditional" in both scriptname and property. Only int, float, and bool properties can be used in this way.
Scriptname MyQuestScript extends Quest Conditional
Int Property myInt Auto Conditional