# Set Dialog Item Render Type

Grammar — Set dialogItem render type to renderType for players
FlagsAction

Controls in which pass the specified Dialog Item is rendered. Items rendered in the HDR pass will be rendered before those in the LDR pass and will also be affected by post processing screen effects.

# Arguments

  • int [ control ] — Dialog Item
  • int [ preset::ImageType2 ] — Render Type
  • playergroup — Players

Returns — void

void libNtve_gf_SetDialogItemRenderType(
	int lp_dialogItem,
	int lp_renderType,
	playergroup lp_players,
);

Category: Dialog / Dialog Item Tools

# Examples

# campaigns/voidstory.sc2campaign

VoidCampaignLib.galaxy

// L4069
libNtve_gf_SetDialogItemRenderType(DialogControlLastCreated(), c_triggerRenderTypeHDR, PlayerGroupAll())

# mods/missionpacks/campaigncommon.sc2mod

LibComC.galaxy

// L1710
libNtve_gf_SetDialogItemRenderType(DialogControlLastCreated(), c_triggerRenderTypeHDR, PlayerGroupAll())

# mods/missionpacks/novacampaign.sc2mod

LibNCUI.galaxy

// L1088
libNtve_gf_SetDialogItemRenderType(DialogControlLastCreated(), c_triggerRenderTypeHDR, PlayerGroupAll())

# mods/starcoop/starcoop.sc2mod

LibCOOC.galaxy

// L5385
libNtve_gf_SetDialogItemRenderType(DialogControlLastCreated(), c_triggerRenderTypeHDR, PlayerGroupAll())

# mods/voidprologue.sc2mod

LibA3DDD02B.galaxy

// L5059
libNtve_gf_SetDialogItemRenderType(DialogControlLastCreated(), c_triggerRenderTypeHDR, PlayerGroupAll())

# mods/warcoop/warclassic.sc2mod

WarClassic.galaxy

// L1035
libNtve_gf_SetDialogItemRenderType(DialogControlLastCreated(), c_triggerRenderTypeHDR, PlayerGroupAll())