Overrides the player's animation transparency parameters for current game tick. Useful for special effects.
Required parameters:
- trans = trans_type (string)
trans_type must be one of the following:
- default - does nothing
- none - disables transparency
- add - draws with additive transparency (alpha defaults to 256,256)
- addalpha - deprecated in 1.1; draws with additive transparency (alpha defaults to 256,0)
- add1 - deprecated in 1.1; draws with additive transparency (alpha defaults to 256,128)
- sub - draws with full subtractive transparency (alpha is fixed at 256,256)
Optional parameters:
- alpha = source_alpha, dest_alpha (int, int)
These are the source and destination alpha values for the add trans types. Valid values are from 0 (low) to 256 (high). If omitted, default depends on trans_type.
Examples:
; Fades the character in, over 256 ticks.
type = Trans
trigger1 = time < 256
trans = add
alpha = time, 256-time