Difference between revisions of "Cast Reference"

41 bytes added ,  08:39, 25 August 2016
m
imported>Goggle
m (→‎Examples: Casting a quest to its script.)
imported>Goggle
Line 149: Line 149:
; Then use this line:
; Then use this line:
MyQuest as MyQuestScript
MyQuest as MyQuestScript
</source>
<br>
<source = lang="papryus">
; 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
Anonymous user