# Set Dialog Item String Value

Grammar — Set dialogItem property to value for players
FlagsNative | Action | Internal

# Arguments

  • int<control> — Dialog Item
  • int<preset::ControlProperty> — Property
  • playergroup — Players
  • string — Value

Returns — void

native void DialogControlSetPropertyAsString(
	int control,
	int property,
	playergroup players,
	string value,
);

Category: Dialog / Dialog Item Values / Internal

# Examples

mods/core.sc2modbase.sc2data/TriggerLibs/NativeLib.galaxy:2727

    // Automatic Variable Declarations
    // Implementation
    DialogControlSetPropertyAsString(lp_dialogItem, c_triggerControlPropertyEditText, lp_players, lp_value);
}

mods/core.sc2modbase.sc2data/TriggerLibs/NativeLib.galaxy:2769

    // Automatic Variable Declarations
    // Implementation
    DialogControlSetPropertyAsString(lp_dialogItem, c_triggerControlPropertyStyle, lp_players, lp_style);
}

mods/core.sc2modbase.sc2data/TriggerLibs/NativeLib.galaxy:2811

    // Automatic Variable Declarations
    // Implementation
    DialogControlSetPropertyAsString(lp_dialogItem, c_triggerControlPropertyImage, lp_players, lp_image);
}

mods/core.sc2modbase.sc2data/TriggerLibs/NativeLib.galaxy:2817

    // Automatic Variable Declarations
    // Implementation
    DialogControlSetPropertyAsString(lp_dialogItem, c_triggerControlPropertyHoverImage, lp_players, lp_image);
}

mods/core.sc2modbase.sc2data/TriggerLibs/NativeLib.galaxy:2853

    // Automatic Variable Declarations
    // Implementation
    DialogControlSetPropertyAsString(lp_dialogItem, c_triggerControlPropertyFile, lp_players, lp_flash);
}

mods/core.sc2modbase.sc2data/TriggerLibs/NativeLib.galaxy:2859

    // Automatic Variable Declarations
    // Implementation
    DialogControlSetPropertyAsString(lp_dialogItem, c_triggerControlPropertyFile, lp_players, lp_cutscene);
}

mods/core.sc2modbase.sc2data/TriggerLibs/NativeLib.galaxy:2865

    // Automatic Variable Declarations
    // Implementation
    DialogControlSetPropertyAsString(lp_dialogItem, c_triggerControlPropertyAchievement, lp_players, lp_achievement);
}

mods/core.sc2modbase.sc2data/TriggerLibs/NativeLib.galaxy:2889

    // Automatic Variable Declarations
    // Implementation
    DialogControlSetPropertyAsString(lp_dialogItem, c_triggerControlPropertyFile, lp_players, lp_movie);
}

mods/core.sc2modbase.sc2data/TriggerLibs/NativeLib.galaxy:2919

    // Automatic Variable Declarations
    // Implementation
    DialogControlSetPropertyAsString(lp_dialogItem, c_triggerControlPropertyModel, lp_players, (lp_model));
}

mods/core.sc2modbase.sc2data/TriggerLibs/NativeLib.galaxy:2925

    // Automatic Variable Declarations
    // Implementation
    DialogControlSetPropertyAsString(lp_dialogItem, c_triggerControlPropertyAnim, lp_players, (lp_animation));
}

mods/core.stormmodbase.stormdata/TriggerLibs/NativeLib.galaxy:2180

    // Automatic Variable Declarations
    // Implementation
    DialogControlSetPropertyAsString(lp_dialogItem, c_triggerControlPropertyEditText, lp_players, lp_value);
}

mods/core.stormmodbase.stormdata/TriggerLibs/NativeLib.galaxy:2222

    // Automatic Variable Declarations
    // Implementation
    DialogControlSetPropertyAsString(lp_dialogItem, c_triggerControlPropertyStyle, lp_players, lp_style);
}

mods/core.stormmodbase.stormdata/TriggerLibs/NativeLib.galaxy:2264

    // Automatic Variable Declarations
    // Implementation
    DialogControlSetPropertyAsString(lp_dialogItem, c_triggerControlPropertyImage, lp_players, lp_image);
}

mods/core.stormmodbase.stormdata/TriggerLibs/NativeLib.galaxy:2270

    // Automatic Variable Declarations
    // Implementation
    DialogControlSetPropertyAsString(lp_dialogItem, c_triggerControlPropertyHoverImage, lp_players, lp_image);
}

mods/core.stormmodbase.stormdata/TriggerLibs/NativeLib.galaxy:2306

    // Automatic Variable Declarations
    // Implementation
    DialogControlSetPropertyAsString(lp_dialogItem, c_triggerControlPropertyFile, lp_players, lp_flash);
}

mods/core.stormmodbase.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.stormmodbase.stormdata/TriggerLibs/NativeLib.galaxy:2319

    // Automatic Variable Declarations
    // Implementation
    DialogControlSetPropertyAsString(lp_dialogItem, c_triggerControlPropertyAchievement, lp_players, lp_achievement);
}

mods/core.stormmodbase.stormdata/TriggerLibs/NativeLib.galaxy:2343

    // Automatic Variable Declarations
    // Implementation
    DialogControlSetPropertyAsString(lp_dialogItem, c_triggerControlPropertyFile, lp_players, lp_movie);
}

mods/core.stormmodbase.stormdata/TriggerLibs/NativeLib.galaxy:2373

    // Automatic Variable Declarations
    // Implementation
    DialogControlSetPropertyAsString(lp_dialogItem, c_triggerControlPropertyModel, lp_players, (lp_model));
}

mods/core.stormmodbase.stormdata/TriggerLibs/NativeLib.galaxy:2379

    // Automatic Variable Declarations
    // Implementation
    DialogControlSetPropertyAsString(lp_dialogItem, c_triggerControlPropertyAnim, lp_players, (lp_animation));
}