SET_ENTITY_TICK_SCRIPT

Sets an entity's on_tick script.

Example JSON

{
  "action": "SET_ENTITY_TICK_SCRIPT",
  "entity": "Entity Name",
  "script": "scriptName"
}

MGS Natlang

Example

script {
  set entity "Entity Name" on_tick to scriptName;
}

Dictionary entry

set entity $entity:string on_tick (to) $script:string (;)