# Set Dialog Item Tiled

Grammar — Set dialogItem Tiled flag to tiled for players
FlagsAction

This is for images that are using the border image type. If tiled is set to true, the sides of the image will be repeated to fill the desired height/width. Otherwise they will be stretched.

# Arguments

  • int [ control ] — Dialog Item
  • bool — Tiled
  • playergroup — Players

Returns — void

void libNtve_gf_SetDialogItemImageType2(
	int lp_dialogItem,
	bool lp_tiled,
	playergroup lp_players,
);

Category: Dialog / Dialog Item Tools

# Examples

# campaigns/liberty.sc2campaign

MapScript.galaxy

// L3462
libNtve_gf_SetDialogItemImageType2(DialogControlLastCreated(), false, PlayerGroupAll())
// L10394
libNtve_gf_SetDialogItemImageType2(DialogControlLastCreated(), true, PlayerGroupAll())
// L10446
libNtve_gf_SetDialogItemImageType2(DialogControlLastCreated(), true, PlayerGroupAll())
// L3462
libNtve_gf_SetDialogItemImageType2(DialogControlLastCreated(), false, PlayerGroupAll())
// L10394
libNtve_gf_SetDialogItemImageType2(DialogControlLastCreated(), true, PlayerGroupAll())
// L10446
libNtve_gf_SetDialogItemImageType2(DialogControlLastCreated(), true, PlayerGroupAll())

# campaigns/libertystory.sc2campaign

CampaignLib.galaxy

// L5680
libNtve_gf_SetDialogItemImageType2(DialogControlLastCreated(), true, PlayerGroupAll())
// L13482
libNtve_gf_SetDialogItemImageType2(DialogControlLastCreated(), true, PlayerGroupAll())
// L13515
libNtve_gf_SetDialogItemImageType2(DialogControlLastCreated(), true, PlayerGroupAll())

# mods/challenges.sc2mod

LibChal.galaxy

// L337
libNtve_gf_SetDialogItemImageType2(DialogControlLastCreated(), true, PlayerGroupAll())
// L353
libNtve_gf_SetDialogItemImageType2(DialogControlLastCreated(), true, PlayerGroupAll())
// L371
libNtve_gf_SetDialogItemImageType2(DialogControlLastCreated(), true, PlayerGroupAll())
// L378
libNtve_gf_SetDialogItemImageType2(DialogControlLastCreated(), true, PlayerGroupAll())
// L396
libNtve_gf_SetDialogItemImageType2(DialogControlLastCreated(), true, PlayerGroupAll())
// L414
libNtve_gf_SetDialogItemImageType2(DialogControlLastCreated(), true, PlayerGroupAll())
// L488
libNtve_gf_SetDialogItemImageType2(DialogControlLastCreated(), true, PlayerGroupAll())
// L511
libNtve_gf_SetDialogItemImageType2(DialogControlLastCreated(), true, PlayerGroupAll())
// L992
libNtve_gf_SetDialogItemImageType2(DialogControlLastCreated(), true, PlayerGroupAll())
// L994
libNtve_gf_SetDialogItemImageType2(DialogControlLastCreated(), true, PlayerGroupAll())

# mods/core.sc2mod

NativeLib.galaxy

// L2651
libNtve_gf_SetDialogItemImageType2(lv_dialogitem, lp_tiled, PlayerGroupAll())
// L2104
libNtve_gf_SetDialogItemImageType2(lv_dialogitem, lp_tiled, PlayerGroupAll())