# Dialog Item Text Value
Grammar — Text value of property of dialogItem for player
Flags —Native
|Function
|Internal
# Arguments
int
<control> — Dialog Itemint
<preset::ControlProperty> — Propertyint
— Player
Returns — text
native text DialogControlGetPropertyAsText(
int control,
int property,
int player,
);
# Related
Category: Dialog / Dialog Item Values / Internal
- Dialog Item Text Value —
text
— DialogControlGetPropertyAsText - Dialog Item String Value —
string
— DialogControlGetPropertyAsString - Dialog Item Integer Value —
int
— DialogControlGetPropertyAsInt - Dialog Item Real Value —
fixed
— DialogControlGetPropertyAsFixed - Dialog Item Boolean Value —
bool
— DialogControlGetPropertyAsBool - Dialog Item Color Value —
color
— DialogControlGetPropertyAsColor - Dialog Item Control Value —
int
<control> — DialogControlGetPropertyAsControl - Dialog Item Unit Value —
unit
— DialogControlGetPropertyAsUnit - Dialog Item Unit Group Value —
unitgroup
— DialogControlGetPropertyAsUnitGroup - Set Dialog Item Text Value —
void
— DialogControlSetPropertyAsText - Set Dialog Item String Value —
void
— DialogControlSetPropertyAsString - Set Dialog Item Integer Value —
void
— DialogControlSetPropertyAsInt - Set Dialog Item Real Value —
void
— DialogControlSetPropertyAsFixed - Set Dialog Item Boolean Value —
void
— DialogControlSetPropertyAsBool - Set Dialog Item Color Value —
void
— DialogControlSetPropertyAsColor - Set Dialog Item Control Value —
void
— DialogControlSetPropertyAsControl - Set Dialog Item Unit Value —
void
— DialogControlSetPropertyAsUnit - Set Dialog Item Unit Group Value —
void
— DialogControlSetPropertyAsUnitGroup
# Examples
mods/core.sc2mod — base.sc2data/TriggerLibs/NativeLib.galaxy:2574
// Automatic Variable Declarations
// Implementation
return DialogControlGetPropertyAsText(lp_dialogItem, c_triggerControlPropertyText, lp_player);
}
mods/core.sc2mod — base.sc2data/TriggerLibs/NativeLib.galaxy:2805
// Automatic Variable Declarations
// Implementation
return DialogControlGetPropertyAsText(lp_dialogItem, c_triggerControlPropertyTooltip, lp_player);
}
mods/core.stormmod — base.stormdata/TriggerLibs/NativeLib.galaxy:2027
// Automatic Variable Declarations
// Implementation
return DialogControlGetPropertyAsText(lp_dialogItem, c_triggerControlPropertyText, lp_player);
}
mods/core.stormmod — base.stormdata/TriggerLibs/NativeLib.galaxy:2258
// Automatic Variable Declarations
// Implementation
return DialogControlGetPropertyAsText(lp_dialogItem, c_triggerControlPropertyTooltip, lp_player);
}