Script:playanim

From Arx Libertatis Wiki
Revision as of 06:29, 18 January 2018 by Ds (talk | contribs) (Created page with "{{Stub}} This page describes the <code>playanim</code> script command. Usage: playanim none playanim [-123lnp] <animslot> playanim -e[123lnp] <animslot> <command...> Fl...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This article is a stub - you can help by expanding it. See the Wiki FAQ.

This page describes the playanim script command.

Usage:

playanim none
playanim [-123lnp] <animslot>
playanim -e[123lnp] <animslot> <command...>

Flags:

  • -1: Set the animation for the first animation layer
  • -2: Set the animation for the second animation layer
  • -3: Set the animation for the third animation layer
  • -l: Loop the animation
  • -n: Do not interpolate from the current animation
  • -p: Set an animation on the player instead of the current entity
  • -e: Execute a command after the animation completes. If the animation is changed this command is still executed at the time the animation would have completed.

Parameters:

Parameter Type Description
<animslot> Template:Text Name of the animation slot to use
<command> code One or more script commands to execute after the animation