# Set Dialog Item Rotation

Grammar — Set dialogItem rotation to rotation for players
FlagsAction

Rotates a dialog item.

# Arguments

  • int [ control ] — Dialog Item
  • int — Rotation
  • playergroup — Players

Returns — void

void libNtve_gf_SetDialogItemRotation(
	int lp_dialogItem,
	int lp_rotation,
	playergroup lp_players,
);

Category: Dialog / Dialog Item Size And Position

# Examples

# campaigns/liberty.sc2campaign

MapScript.galaxy

// L2153
libNtve_gf_SetDialogItemRotation(lv_arrowRight, 0, PlayerGroupAll())
// L2154
libNtve_gf_SetDialogItemRotation(lv_arrowDown, 90, PlayerGroupAll())
// L2155
libNtve_gf_SetDialogItemRotation(lv_arrowLeft, 180, PlayerGroupAll())
// L2156
libNtve_gf_SetDialogItemRotation(lv_arrowUp, 270, PlayerGroupAll())
// L2153
libNtve_gf_SetDialogItemRotation(lv_arrowRight, 0, PlayerGroupAll())
// L2154
libNtve_gf_SetDialogItemRotation(lv_arrowDown, 90, PlayerGroupAll())
// L2155
libNtve_gf_SetDialogItemRotation(lv_arrowLeft, 180, PlayerGroupAll())
// L2156
libNtve_gf_SetDialogItemRotation(lv_arrowUp, 270, PlayerGroupAll())
// L4678
libNtve_gf_SetDialogItemRotation(lv_arrowRight, 0, PlayerGroupAll())
// L4679
libNtve_gf_SetDialogItemRotation(lv_arrowDown, 90, PlayerGroupAll())
// L4680
libNtve_gf_SetDialogItemRotation(lv_arrowLeft, 180, PlayerGroupAll())
// L4681
libNtve_gf_SetDialogItemRotation(lv_arrowUp, 270, PlayerGroupAll())
// L1355
libNtve_gf_SetDialogItemRotation(gv_movingPlatform.lv_leftIcon, 180, PlayerGroupAll())
// L1366
libNtve_gf_SetDialogItemRotation(gv_movingPlatform.lv_downIcon, 90, PlayerGroupAll())
// L1374
libNtve_gf_SetDialogItemRotation(gv_movingPlatform.lv_upIcon, 270, PlayerGroupAll())
// L1384
libNtve_gf_SetDialogItemRotation(gv_movingPlatform.lv_rightIcon, 0, PlayerGroupAll())
// L4678
libNtve_gf_SetDialogItemRotation(lv_arrowRight, 0, PlayerGroupAll())
// L4679
libNtve_gf_SetDialogItemRotation(lv_arrowDown, 90, PlayerGroupAll())
// L4680
libNtve_gf_SetDialogItemRotation(lv_arrowLeft, 180, PlayerGroupAll())
// L4681
libNtve_gf_SetDialogItemRotation(lv_arrowUp, 270, PlayerGroupAll())
// L1355
libNtve_gf_SetDialogItemRotation(gv_movingPlatform.lv_leftIcon, 180, PlayerGroupAll())
// L1366
libNtve_gf_SetDialogItemRotation(gv_movingPlatform.lv_downIcon, 90, PlayerGroupAll())
// L1374
libNtve_gf_SetDialogItemRotation(gv_movingPlatform.lv_upIcon, 270, PlayerGroupAll())
// L1384
libNtve_gf_SetDialogItemRotation(gv_movingPlatform.lv_rightIcon, 0, PlayerGroupAll())

# mods/core.sc2mod

NativeLib.galaxy

// L3254
libNtve_gf_SetDialogItemRotation(libNtve_gv_screenImageDialogImages[lp_screenImageID], 0, PlayerGroupAll())
// L2732
libNtve_gf_SetDialogItemRotation(libNtve_gv_screenImageDialogImages[lp_screenImageID], 0, PlayerGroupAll())