Difference between revisions of "Papyrus Introduction"
m
fixed bug in script
imported>Plplecuyer |
imported>Yeahmy m (fixed bug in script) |
||
(One intermediate revision by one other user not shown) | |||
Line 99: | Line 99: | ||
For example, declaring at top, and setting elsewhere: | For example, declaring at top, and setting elsewhere: | ||
<source lang="papyrus"> | <source lang="papyrus"> | ||
; | ;Declared at top | ||
ObjectReference ThingActivatingMe | ObjectReference ThingActivatingMe | ||
;set inside an event | ;set inside an event | ||
Event OnActivate(ObjectReference akActionRef) | Event OnActivate(ObjectReference akActionRef) | ||
ThingActivatingMe = akActionRef | |||
EndEvent | EndEvent |