Difference between revisions of "DisableNoWait - ObjectReference"
Jump to navigation
Jump to search
imported>Jlundin (Created page with 'Category:Scripting Category:Papyrus '''Member of:''' ObjectReference Script Disables this reference, fading it out of necessary. This function will not wait for the …') |
imported>JLundin |
||
Line 1: | Line 1: | ||
[[Category:Scripting]] | [[Category:Scripting]] | ||
[[Category:Papyrus]] | [[Category:Papyrus]] | ||
[[Category:Non-delayed Native Function]] | |||
'''Member of:''' [[ObjectReference Script]] | '''Member of:''' [[ObjectReference Script]] | ||
Latest revision as of 08:12, 12 September 2012
Member of: ObjectReference Script
Disables this reference, fading it out of necessary. This function will not wait for the fade or the disable to happen before returning.
Syntax[edit | edit source]
Function DisableNoWait(bool abFadeOut = False) native
Parameters[edit | edit source]
- abFadeOut: Whether to fade the item out or not. If this is an enable parent the children will not be faded.
- Default: False
Return Value[edit | edit source]
None.
Examples[edit | edit source]
; Disables the reference, popping it out
TempReference.DisableNoWait()
; Disables the reference, fading it out
TempReference.DisableNoWait(true)
Notes[edit | edit source]
- Small objects will never fade.
- Children of an enable parent will not fade and will simply pop out of existence when the parent object has finished fading.