SET_ENTITY_PRIMARY_ID_TYPE
Sets an entity's primary_id_type: either (0
) tile, (1
) animation, or (2
) character (sometimes called entity_type
).
Example JSON
{
"action": "SET_ENTITY_PRIMARY_ID_TYPE",
"byte_value": 1,
"entity": "Entity Name"
}
MGS Natlang
Example
script {
set entity "Entity Name" primary_id_type to 1;
}
Dictionary entry
set entity $entity:string primary_id_type (to) $byte_value:number (;)