Page tree
Skip to end of metadata
Go to start of metadata

 

   

Introduced in

Version:VBS3 20.2.0, VBS4 19.1.0

Description

Description:

Updates a unit or group editor symbol, based on the provided Symbol Identification Code (SIDC).

Note: Currently only accepts the MIL-STD-2525C format.

Syntax

Syntax:

object setSIDC sidc

Parameters:
  • object: Object or Group - Data Type - Unit or group to set the symbol of.
  • sidc: String - Symbol Identification Code (SIDC) in string format. For empty characters, such as "SFGPUCI----D", use the dash / hyphen character.
Return Value:Boolean - Returns true, if successfully applied; false, if not.

Examples

Examples:

_sidcApplied = player setSIDC "SFGPEWRR----";

Additional Information

See also:getSIDC, updateSymbol
Multiplayer:Applied only locally, must be broadcast to other clients using commands.
Problems:

Due to large number of possible codes, only validates string length and characters 'A-Z' and '-'.

Currently, only supports the MIL-2525C standard.