1,482
edits
imported>Lisselli (→Notes: Note on most exterior cells not having a location.) |
m (Convert source tags to syntaxhighlight) |
||
| Line 7: | Line 7: | ||
== Syntax == | == Syntax == | ||
< | <syntaxhighlight lang="papyrus"> | ||
Event OnLocationChange(Location akOldLoc, Location akNewLoc) | Event OnLocationChange(Location akOldLoc, Location akNewLoc) | ||
</ | </syntaxhighlight> | ||
== Parameters == | == Parameters == | ||
| Line 16: | Line 16: | ||
== Examples == | == Examples == | ||
< | <syntaxhighlight lang="papyrus"> | ||
Event OnLocationChange(Location akOldLoc, Location akNewLoc) | Event OnLocationChange(Location akOldLoc, Location akNewLoc) | ||
if (Game.GetPlayer().GetCurrentLocation() == akOldLoc) | if (Game.GetPlayer().GetCurrentLocation() == akOldLoc) | ||
| Line 22: | Line 22: | ||
endIf | endIf | ||
endEvent | endEvent | ||
</ | </syntaxhighlight> | ||
== Notes == | == Notes == | ||