1,482
edits
imported>Thingy Person (→Syntax) |
m (Convert source tags to syntaxhighlight) |
||
| Line 6: | Line 6: | ||
== Syntax == | == Syntax == | ||
< | <syntaxhighlight lang="papyrus"> | ||
bool Function IsEnabled() | bool Function IsEnabled() | ||
return !IsDisabled() | return !IsDisabled() | ||
EndFunction | EndFunction | ||
</ | </syntaxhighlight> | ||
== Parameters == | == Parameters == | ||
| Line 19: | Line 19: | ||
== Examples == | == Examples == | ||
< | <syntaxhighlight lang="papyrus"> | ||
; Is the shield enabled? | ; Is the shield enabled? | ||
if (ShieldProperty.IsEnabled()) | if (ShieldProperty.IsEnabled()) | ||
Debug.Trace("The shield is up!") | Debug.Trace("The shield is up!") | ||
endIf | endIf | ||
</ | </syntaxhighlight> | ||
== Notes == | == Notes == | ||