- Documentation
- Client functions
- engineSetModelFlag
Function
engineSetModelFlag
Sets a model flag (is_road, draw_last, additive, is_tree and others). In the Definitive Edition Unreal does the drawing, so the flag is only stored (read with engineGetModelFlags) and does not change the image.
Syntax
bool engineSetModelFlag(int modelID, string flagName, bool state)Arguments
modelIDint- The model.
flagNamestring- Flag name.
statebool- State.
Returns
true on success.
Example
engineSetModelFlag(1271, "draw_last", true)