Difference between revisions of "Cast Reference"
Jump to navigation
Jump to search
m
→Cast to Object
imported>Goggle m (→Examples: Casting a quest to its script.) |
imported>Goggle m (→Cast to Object) |
||
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 |