Difference between revisions of "Cast Reference"
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 |