Difference between revisions of "Cast Reference"

39 bytes added ,  17:10, 29 December 2016
m
Fixed misspelled "papyrus" to prevent script code parse fail
imported>Goggle
m (→‎Examples: Casting a quest to its script.)
imported>00HOTSPOTSHIELD
m (Fixed misspelled "papyrus" to prevent script code parse fail)
 
(One intermediate revision by one other user not shown)
Line 149: Line 149:
; Then use this line:
; Then use this line:
MyQuest as MyQuestScript
MyQuest as MyQuestScript
</source>
<br>
<source lang="papyrus">
; Same can be done with GetOwningQuest() for objects directly attached to the Quest.
; Same can be done with GetOwningQuest() for objects directly attached to the Quest.
GetOwningQuest() as MyQuestScript
GetOwningQuest() as MyQuestScript