# Set Dialog Item Rotation
Grammar — Set dialogItem rotation to rotation for players
Flags —Action
Rotates a dialog item.
# Arguments
int
[ control ] — Dialog Itemint
— Rotationplayergroup
— Players
Returns — void
void libNtve_gf_SetDialogItemRotation(
int lp_dialogItem,
int lp_rotation,
playergroup lp_players,
);
# Related
Category: Dialog / Dialog Item Size And Position
- [F] —
void
— Move Dialog Item — ( DialogControlSetPosition ) - [F] —
void
— Attach Dialog Item To Dialog Item — ( DialogControlSetPositionRelative ) - [F] —
void
— Set Dialog Item Rotation — ( libNtve_gf_SetDialogItemRotation ) - [F] —
void
— Set Dialog Item to Use Aspect Uncorrection — ( libNtve_gf_SetDialogItemtoUseAspectUncorrection ) - [F] —
void
— Set Dialog Item Size to Parent — ( DialogControlSetFullDialog ) - [F] —
void
— Set Dialog Item Size — ( DialogControlSetSize ) - [F] —
int
— Dialog Item Width — ( DialogControlGetWidth ) - [F] —
int
— Dialog Item Height — ( DialogControlGetHeight ) - [F] —
int
— Dialog Item Offset X — ( DialogControlGetOffsetX ) - [F] —
int
— Dialog Item Offset Y — ( DialogControlGetOffsetY ) - [F] —
int
[ preset::Anchor ] — Dialog Item Anchor — ( DialogControlGetAnchor ) - [F] —
int
[ preset::Anchor ] — Dialog Item Relative Anchor — ( DialogControlGetRelativeAnchor ) - [F] —
int
[ control ] — Relative Dialog Item — ( DialogControlGetRelativeControl ) - [F] —
bool
— Dialog Item Is Full Dialog — ( DialogControlIsFullDialog )
# Examples
# campaigns/liberty.sc2campaign
// 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())
// L1357
libNtve_gf_SetDialogItemRotation(gv_movingPlatform.lv_leftIcon, 180, PlayerGroupAll())
// L1368
libNtve_gf_SetDialogItemRotation(gv_movingPlatform.lv_downIcon, 90, PlayerGroupAll())
// L1376
libNtve_gf_SetDialogItemRotation(gv_movingPlatform.lv_upIcon, 270, PlayerGroupAll())
// L1386
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())
// L1357
libNtve_gf_SetDialogItemRotation(gv_movingPlatform.lv_leftIcon, 180, PlayerGroupAll())
// L1368
libNtve_gf_SetDialogItemRotation(gv_movingPlatform.lv_downIcon, 90, PlayerGroupAll())
// L1376
libNtve_gf_SetDialogItemRotation(gv_movingPlatform.lv_upIcon, 270, PlayerGroupAll())
// L1386
libNtve_gf_SetDialogItemRotation(gv_movingPlatform.lv_rightIcon, 0, PlayerGroupAll())
# mods/core.sc2mod
// L3254
libNtve_gf_SetDialogItemRotation(libNtve_gv_screenImageDialogImages[lp_screenImageID], 0, PlayerGroupAll())
// L2732
libNtve_gf_SetDialogItemRotation(libNtve_gv_screenImageDialogImages[lp_screenImageID], 0, PlayerGroupAll())