Difference between revisions of "GetVMQuestVariable"

From the CreationKit Wiki
Jump to navigation Jump to search
imported>SJML Bot
(Bot creating condition functions pages.)
 
imported>Chesko
(Data type requirement.)
 
(2 intermediate revisions by 2 users not shown)
Line 2: Line 2:


[[Category:Condition Functions]]
[[Category:Condition Functions]]
Returns the value of a quest variable.
==Example==
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">
Scriptname MyQuestScript extends Quest Conditional
Int Property myInt Auto Conditional
</source>

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