# Anim Bracket Start

Grammar — AnimBracketStart animName openingProps contentProps closingProps animBracketStartFlags timeVariant timeType
FlagsNative | Function

Constructs and returns an AnimBracketStart actor message based on the parameters. This message tells an actor to begin an anim bracket with the specified parameters. An anim bracket is refered to by its name, determined by the name parameter, and consists of three animations defined as Opening Props, Content Props, and Closing Props. The Opening Props parameter determines which animation the actor will play at the beginning of the anim bracket. The Content Props parameter determines the intermediate animation. If Content Props is set to an animation that loops it will play until the anim bracket is ended, otherwise it will only play once. The Closing Props parameter determines which animation is played when the anim bracket ends. It will only work on actors with models that have animations.

# Arguments

  • string — Anim Name
  • string<modelanim> — Opening Props
  • string<modelanim> — Content Props
  • string<modelanim> — Closing Props
  • int — Anim Bracket Start Flags
  • fixed — Time Variant
  • int<preset::TimeVariant> — Time Type

Returns — string<actormsg>

native string MakeMsgAnimBracketStart(
	string animName,
	string propsOpening,
	string propsContent,
	string propsClosing,
	int animBracketStartFlags,
	fixed timeVariant,
	int timeType,
);

Category: Actor / Message Constructors

# Examples

— None found —