# Set Dialog Item String Value
Grammar — Set dialogItem property to value for players
Flags —Native
|Action
|Internal
# Arguments
int
<control> — Dialog Itemint
<preset::ControlProperty> — Propertyplayergroup
— Playersstring
— Value
Returns — void
native void DialogControlSetPropertyAsString(
int control,
int property,
playergroup players,
string value,
);
# 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:2727
// Automatic Variable Declarations
// Implementation
DialogControlSetPropertyAsString(lp_dialogItem, c_triggerControlPropertyEditText, lp_players, lp_value);
}
mods/core.sc2mod — base.sc2data/TriggerLibs/NativeLib.galaxy:2769
// Automatic Variable Declarations
// Implementation
DialogControlSetPropertyAsString(lp_dialogItem, c_triggerControlPropertyStyle, lp_players, lp_style);
}
mods/core.sc2mod — base.sc2data/TriggerLibs/NativeLib.galaxy:2811
// Automatic Variable Declarations
// Implementation
DialogControlSetPropertyAsString(lp_dialogItem, c_triggerControlPropertyImage, lp_players, lp_image);
}
mods/core.sc2mod — base.sc2data/TriggerLibs/NativeLib.galaxy:2817
// Automatic Variable Declarations
// Implementation
DialogControlSetPropertyAsString(lp_dialogItem, c_triggerControlPropertyHoverImage, lp_players, lp_image);
}
mods/core.sc2mod — base.sc2data/TriggerLibs/NativeLib.galaxy:2853
// Automatic Variable Declarations
// Implementation
DialogControlSetPropertyAsString(lp_dialogItem, c_triggerControlPropertyFile, lp_players, lp_flash);
}
mods/core.sc2mod — base.sc2data/TriggerLibs/NativeLib.galaxy:2859
// Automatic Variable Declarations
// Implementation
DialogControlSetPropertyAsString(lp_dialogItem, c_triggerControlPropertyFile, lp_players, lp_cutscene);
}
mods/core.sc2mod — base.sc2data/TriggerLibs/NativeLib.galaxy:2865
// Automatic Variable Declarations
// Implementation
DialogControlSetPropertyAsString(lp_dialogItem, c_triggerControlPropertyAchievement, lp_players, lp_achievement);
}
mods/core.sc2mod — base.sc2data/TriggerLibs/NativeLib.galaxy:2889
// Automatic Variable Declarations
// Implementation
DialogControlSetPropertyAsString(lp_dialogItem, c_triggerControlPropertyFile, lp_players, lp_movie);
}
mods/core.sc2mod — base.sc2data/TriggerLibs/NativeLib.galaxy:2919
// Automatic Variable Declarations
// Implementation
DialogControlSetPropertyAsString(lp_dialogItem, c_triggerControlPropertyModel, lp_players, (lp_model));
}
mods/core.sc2mod — base.sc2data/TriggerLibs/NativeLib.galaxy:2925
// Automatic Variable Declarations
// Implementation
DialogControlSetPropertyAsString(lp_dialogItem, c_triggerControlPropertyAnim, lp_players, (lp_animation));
}
mods/core.stormmod — base.stormdata/TriggerLibs/NativeLib.galaxy:2180
// Automatic Variable Declarations
// Implementation
DialogControlSetPropertyAsString(lp_dialogItem, c_triggerControlPropertyEditText, lp_players, lp_value);
}
mods/core.stormmod — base.stormdata/TriggerLibs/NativeLib.galaxy:2222
// Automatic Variable Declarations
// Implementation
DialogControlSetPropertyAsString(lp_dialogItem, c_triggerControlPropertyStyle, lp_players, lp_style);
}
mods/core.stormmod — base.stormdata/TriggerLibs/NativeLib.galaxy:2264
// Automatic Variable Declarations
// Implementation
DialogControlSetPropertyAsString(lp_dialogItem, c_triggerControlPropertyImage, lp_players, lp_image);
}
mods/core.stormmod — base.stormdata/TriggerLibs/NativeLib.galaxy:2270
// Automatic Variable Declarations
// Implementation
DialogControlSetPropertyAsString(lp_dialogItem, c_triggerControlPropertyHoverImage, lp_players, lp_image);
}
mods/core.stormmod — base.stormdata/TriggerLibs/NativeLib.galaxy:2306
// Automatic Variable Declarations
// Implementation
DialogControlSetPropertyAsString(lp_dialogItem, c_triggerControlPropertyFile, lp_players, lp_flash);
}
mods/core.stormmod — base.stormdata/TriggerLibs/NativeLib.galaxy:2312
// Automatic Variable Declarations
// Implementation
DialogControlSetPropertyAsString(lp_dialogItem, c_triggerControlPropertyFile, lp_players, lp_cutscene);
DialogControlRemovePlayersFromMask(lp_dialogItem, c_triggerControlPropertyFile, lp_players);
}
mods/core.stormmod — base.stormdata/TriggerLibs/NativeLib.galaxy:2319
// Automatic Variable Declarations
// Implementation
DialogControlSetPropertyAsString(lp_dialogItem, c_triggerControlPropertyAchievement, lp_players, lp_achievement);
}
mods/core.stormmod — base.stormdata/TriggerLibs/NativeLib.galaxy:2343
// Automatic Variable Declarations
// Implementation
DialogControlSetPropertyAsString(lp_dialogItem, c_triggerControlPropertyFile, lp_players, lp_movie);
}
mods/core.stormmod — base.stormdata/TriggerLibs/NativeLib.galaxy:2373
// Automatic Variable Declarations
// Implementation
DialogControlSetPropertyAsString(lp_dialogItem, c_triggerControlPropertyModel, lp_players, (lp_model));
}
mods/core.stormmod — base.stormdata/TriggerLibs/NativeLib.galaxy:2379
// Automatic Variable Declarations
// Implementation
DialogControlSetPropertyAsString(lp_dialogItem, c_triggerControlPropertyAnim, lp_players, (lp_animation));
}