# Dialog Item String Value
Grammar — String value of property of dialogItem for player
Flags —Native
|Function
|Internal
# Arguments
int
<control> — Dialog Itemint
<preset::ControlProperty> — Propertyint
— Player
Returns — string
native string DialogControlGetPropertyAsString(
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:2757
// Automatic Variable Declarations
// Implementation
return DialogControlGetPropertyAsString(lp_dialogItem, c_triggerControlPropertyEditText, lp_player);
}
mods/core.sc2mod — base.sc2data/TriggerLibs/NativeLib.galaxy:2799
// Automatic Variable Declarations
// Implementation
return DialogControlGetPropertyAsString(lp_dialogItem, c_triggerControlPropertyStyle, lp_player);
}
mods/core.sc2mod — base.sc2data/TriggerLibs/NativeLib.galaxy:2841
// Automatic Variable Declarations
// Implementation
return DialogControlGetPropertyAsString(lp_dialogItem, c_triggerControlPropertyImage, lp_player);
}
mods/core.stormmod — base.stormdata/TriggerLibs/NativeLib.galaxy:2210
// Automatic Variable Declarations
// Implementation
return DialogControlGetPropertyAsString(lp_dialogItem, c_triggerControlPropertyEditText, lp_player);
}
mods/core.stormmod — base.stormdata/TriggerLibs/NativeLib.galaxy:2252
// Automatic Variable Declarations
// Implementation
return DialogControlGetPropertyAsString(lp_dialogItem, c_triggerControlPropertyStyle, lp_player);
}
mods/core.stormmod — base.stormdata/TriggerLibs/NativeLib.galaxy:2294
// Automatic Variable Declarations
// Implementation
return DialogControlGetPropertyAsString(lp_dialogItem, c_triggerControlPropertyImage, lp_player);
}