# Set Timer Window Image Type
Grammar — Set window|Timer Window image image type to imageType
Flags —Native
|Action
Sets the image type within a timer window. The image files may be customized in Assets.txt, under UI/TimerWindow.
# Arguments
int
[ preset::TimerWindow ] — Windowint
[ preset::TimerWindowImage ] — Imageint
[ preset::ImageType ] — Image Type
Returns — void
native void TimerWindowSetImageType(
int inWindow,
int inImage,
int inType,
);
# Related
Category: Timer / Timer Windows
- [F] —
int
[ preset::TimerWindow ] — Create Timer Window — ( TimerWindowCreate ) - [F] —
int
[ preset::TimerWindow ] — Last Created Timer Window — ( TimerWindowLastCreated ) - [F] —
void
— Show/Hide Timer Window — ( TimerWindowShow ) - [F] —
bool
— Timer Window Is Visible — ( TimerWindowVisible ) - [F] —
void
— Destroy Timer Window — ( TimerWindowDestroy ) - [F] —
void
— Anchor Timer Window — ( TimerWindowSetAnchor ) - [F] —
void
— Move Timer Window — ( TimerWindowSetPosition ) - [F] —
void
— Reset Timer Window Position — ( TimerWindowResetPosition ) - [F] —
void
— Set Title For Timer Window — ( TimerWindowSetTitle ) - [F] —
void
— Set Timer For Timer Window — ( TimerWindowSetTimer ) - [F] —
void
— Set Time Format For Timer Window — ( TimerWindowSetFormat ) - [F] —
void
— Set Style For Timer Window — ( TimerWindowSetStyle ) - [F] —
void
— Set Gap Width For Timer Window — ( TimerWindowSetGapWidth ) - [F] —
void
— Set Height For Timer Window — ( TimerWindowSetFixedHeight ) - [F] —
void
— Set Timer Window Color — ( TimerWindowSetColor ) - [F] —
void
— Show/Hide Timer Window Border — ( TimerWindowShowBorder ) - [F] —
void
— Show/Hide Timer Window Progress Bar — ( TimerWindowShowProgressBar ) - [F] —
void
— Set Timer Window Progress Color — ( TimerWindowSetProgressColor ) - [F] —
void
— Set Timer Window Image Type — ( TimerWindowSetImageType ) - [F] —
fixed
— Elapsed Time Of Timer — ( TimerGetElapsed ) - [F] —
fixed
— Remaining Time Of Timer — ( TimerGetRemaining )
# Examples
# campaigns/swarmstory.sc2campaign
// L2608
TimerWindowSetImageType(TimerWindowLastCreated(), c_timerWindowImageBackground, c_triggerImageTypeNineSlice)
// L2609
TimerWindowSetImageType(TimerWindowLastCreated(), c_timerWindowImageProgressFill, c_triggerImageTypeNineSlice)
// L2610
TimerWindowSetImageType(TimerWindowLastCreated(), c_timerWindowImageBorder, c_triggerImageTypeNineSlice)
// L2611
TimerWindowSetImageType(TimerWindowLastCreated(), c_timerWindowImageProgressFrame, c_triggerImageTypeNineSlice)
# campaigns/voidstory.sc2campaign
// L5228
TimerWindowSetImageType(TimerWindowLastCreated(), c_timerWindowImageBackground, c_triggerImageTypeNineSlice)
// L5229
TimerWindowSetImageType(TimerWindowLastCreated(), c_timerWindowImageProgressFill, c_triggerImageTypeNineSlice)
// L5230
TimerWindowSetImageType(TimerWindowLastCreated(), c_timerWindowImageBorder, c_triggerImageTypeNineSlice)
// L5231
TimerWindowSetImageType(TimerWindowLastCreated(), c_timerWindowImageProgressFrame, c_triggerImageTypeNineSlice)
# mods/missionpacks/novacampaign.sc2mod
// L3679
TimerWindowSetImageType(TimerWindowLastCreated(), c_timerWindowImageBackground, c_triggerImageTypeNineSlice)
// L3680
TimerWindowSetImageType(TimerWindowLastCreated(), c_timerWindowImageProgressFill, c_triggerImageTypeNineSlice)
// L3681
TimerWindowSetImageType(TimerWindowLastCreated(), c_timerWindowImageBorder, c_triggerImageTypeNineSlice)
// L3682
TimerWindowSetImageType(TimerWindowLastCreated(), c_timerWindowImageProgressFrame, c_triggerImageTypeNineSlice)
# mods/starcoop/starcoop.sc2mod
// L5105
TimerWindowSetImageType(TimerWindowLastCreated(), c_timerWindowImageBackground, c_triggerImageTypeNineSlice)
// L5106
TimerWindowSetImageType(TimerWindowLastCreated(), c_timerWindowImageProgressFill, c_triggerImageTypeNineSlice)
// L5107
TimerWindowSetImageType(TimerWindowLastCreated(), c_timerWindowImageBorder, c_triggerImageTypeNineSlice)
// L5108
TimerWindowSetImageType(TimerWindowLastCreated(), c_timerWindowImageProgressFrame, c_triggerImageTypeNineSlice)
# mods/voidprologue.sc2mod
// L1602
TimerWindowSetImageType(TimerWindowLastCreated(), c_timerWindowImageBackground, c_triggerImageTypeNineSlice)
// L1603
TimerWindowSetImageType(TimerWindowLastCreated(), c_timerWindowImageProgressFill, c_triggerImageTypeNineSlice)
// L1604
TimerWindowSetImageType(TimerWindowLastCreated(), c_timerWindowImageBorder, c_triggerImageTypeNineSlice)
// L1605
TimerWindowSetImageType(TimerWindowLastCreated(), c_timerWindowImageProgressFrame, c_triggerImageTypeNineSlice)