# Dialog Item Set Animation Speed

Grammar — Set the speed speed of animation animationName on dialog item dialogItem for players
FlagsNative | Action | Restricted

Sets the speed of an animation on a dialog item. Animations are defined in the layout of a dialog item.

# Arguments

  • int [ control ] — Dialog Item
  • playergroup — Players
  • string — Animation
  • fixed — Speed

Returns — void

native void DialogControlSetAnimationSpeed(
	int control,
	playergroup players,
	string animationName,
	fixed speed,
);

Category: Dialog / Dialog Item Tools

# Examples

# mods/heroesdata.stormmod

GameDataHelperLib.galaxy

// L2330
DialogControlSetAnimationSpeed(lv_dialogItem, libCore_gv_playerGroupFromPlayer[lp_player], "ShrinkOverlay", lv_animationSpeed)