1,482
edits
m (Add note that OnLoad doesn't fire for disabled objects) |
m (Convert source tags to syntaxhighlight) |
||
| Line 7: | Line 7: | ||
== Syntax == | == Syntax == | ||
< | <syntaxhighlight lang="papyrus"> | ||
Event OnLoad() | Event OnLoad() | ||
</ | </syntaxhighlight> | ||
== Parameters == | == Parameters == | ||
| Line 15: | Line 15: | ||
== Examples == | == Examples == | ||
< | <syntaxhighlight lang="papyrus"> | ||
Event OnLoad() | Event OnLoad() | ||
Debug.Trace("This object is loaded, playing animations should work now") | Debug.Trace("This object is loaded, playing animations should work now") | ||
endEvent | endEvent | ||
</ | </syntaxhighlight> | ||
== Notes == | == Notes == | ||