SET_ENTITY_SECONDARY_ID

Sets an entity's secondary_id.

This action will not be useful unless the entity is a tile entity (primary_id_type: 1).

Example JSON

{
  "action": "SET_ENTITY_SECONDARY_ID",
  "entity": "Entity Name",
  "u2_value": 2
}

MGS Natlang

Example

script {
  set entity "Entity Name" secondary_id to 2;
}

Dictionary entry

set entity $entity:string secondary_id (to) $u2_value:number (;)