OnLocationChange - Actor: Difference between revisions

Jump to navigation Jump to search
→‎Examples: Description for the example
m (Convert source tags to syntaxhighlight)
(→‎Examples: Description for the example)
 
Line 16: Line 16:


== Examples ==
== Examples ==
In this example, the event is attached to an actor other than the Player. A trace is written when that actor moves out of a location currently occupied by the Player.
<syntaxhighlight lang="papyrus">
<syntaxhighlight lang="papyrus">
Event OnLocationChange(Location akOldLoc, Location akNewLoc)
Event OnLocationChange(Location akOldLoc, Location akNewLoc)
Anonymous user

Navigation menu