Difference between revisions of "SetActorAlpha"
Jump to navigation
Jump to search
imported>Elim Garak |
imported>Haama (CS 1.0 stuff) |
||
Line 11: | Line 11: | ||
[[Category: Functions]] | [[Category: Functions]] | ||
[[Category: Functions (CS 1.0)]] | |||
[[Category: Magic Functions]] | [[Category: Magic Functions]] | ||
[[Category: Magic Functions (CS 1.0)]] | |||
[[Category:Actor Functions]] | [[Category:Actor Functions]] | ||
[[Category:Actor Functions (CS 1.0)]] |
Revision as of 14:53, 8 August 2007
Syntax:
SetActorAlpha [0.0 - 1.0] saa [0.0 - 1.0]
Example:
SetActorAlpha .5
Sets the actor's alpha value (how opaque they are), with 1.0 meaning solid and 0.0 meaning fully transparent.
Notice: Since the Gamebryo-Engine has still problems with soft alpha overlays, this parameter may cause strange effects with alpha masks on textures, e.g. leaving a transparency border around some parts of hair meshes.