Difference between revisions of "SetAlpha - Actor"

Jump to navigation Jump to search
3 bytes added ,  08:34, 18 January 2014
m
→‎Notes: Formatting
imported>Arthmoor
(→‎Notes: Added note about SetAlpha throwing an error if the actor has no AI process)
imported>JustinOther
m (→‎Notes: Formatting)
Line 30: Line 30:


== Notes ==
== Notes ==
The player cannot be faded completely out and will always remain partially visible.
*The player cannot be faded completely out and will always remain partially visible.


The fade boolean does not work if you set the alpha to (0.0). If you wish to fade to zero, then it must be set to (0.1) and then use Utility.Wait(0.3) (or any equally small number), calling the function afterwards to set to (0.0).
*The fade boolean does not work if you set the alpha to (0.0). If you wish to fade to zero, then it must be set to (0.1) and then use Utility.Wait(0.3) (or any equally small number), calling the function afterwards to set to (0.0).


This function cannot be called on a dead or disabled actor. You will get an error that the actor has no AI process.
*This function cannot be called on a dead or disabled actor. You will get an error that the actor has no AI process.


== See Also ==
== See Also ==
*[[Actor Script]]
*[[Actor Script]]
Anonymous user

Navigation menu