Skip to main content

SetPrimitiveObjectProperties

Sets properties of a PrimitiveObjectToy.

Syntaxโ€‹

SetPrimitiveObjectProperties *toy_reference type? color? flags?

Argumentsโ€‹

NameRequiredTypeDescription
toy referenceYesa reference to PrimitiveObjectToy object.
typeNoPrimitiveType enum value - found using 'serhelp PrimitiveType' commandDefault: not changing
colorNoColor in format RRGGBB or RRGGBBAA.Default: not changing
flagsNoPrimitiveFlags enum value - found using 'serhelp PrimitiveFlags' command. Use '|' character to provide multiple e.g. Val1|Val2|Val3Default: not changing

On a running serverโ€‹

Use serhelp SetPrimitiveObjectProperties to inspect the reference generated by your installed SER version.