Button_SetAnimation
Metaclass Prototype: SetAnimation (BAMResRef[, Cycle, Blend, Cols])
Description: Sets the animation of a Control (usually a Button) from a BAM file. Optionally an animation cycle could be set too.
Parameters:
- BAMResRef - resref of the animation
- Cycle - (optional) number of the cycle to use
- Blend - (optional) set the blend mode, default is BLENDED
- Cols - (optional) a list of Colors to apply as the palette
Return value: N/A
Back to function index, GUIScript introduction.