Difference between revisions of "IsDisabled - ObjectReference"
Jump to navigation
Jump to search
imported>Rhavlovick m (1 revision: Clobber re-import by Henning) |
imported>VikMorroHun m (→Notes: corrected typo) |
||
(One intermediate revision by one other user not shown) | |||
Line 23: | Line 23: | ||
endIf | endIf | ||
</source> | </source> | ||
== Notes == | |||
* 'IsDisabled()' is ''slightly'' faster than [[IsEnabled - ObjectReference|IsEnabled]]. | |||
== See Also == | == See Also == | ||
*[[ObjectReference Script]] | *[[ObjectReference Script]] | ||
*[[IsEnabled - ObjectReference]] | |||
*[[Disable - ObjectReference]] | *[[Disable - ObjectReference]] | ||
*[[Enable - ObjectReference]] | *[[Enable - ObjectReference]] |
Latest revision as of 11:57, 5 October 2013
Member of: ObjectReference Script
Checks to see if this object is currently disabled.
Syntax[edit | edit source]
bool Function IsDisabled() native
Parameters[edit | edit source]
None.
Return Value[edit | edit source]
If this object is currently disabled.
Examples[edit | edit source]
; Is the shield disabled?
if (ShieldProperty.IsDisabled())
Debug.Trace("The shield is down!")
endIf
Notes[edit | edit source]
- 'IsDisabled()' is slightly faster than IsEnabled.