CHECK_ENTITY_GLITCHED

Checks whether an entity currently has it's "glitched" render flag set.

Example JSON

{
  "action": "CHECK_ENTITY_GLITCHED",
  "entity": "Entity Name",
  "expected_bool": true,
  "success_script": "successScript"
},
{
  "action": "CHECK_ENTITY_GLITCHED",
  "entity": "Entity Name",
  "expected_bool": true,
  "jump_index": 12
}

MGS Natlang

The condition portion of this action can be used inside an if condition statement, e.g.

script {
  if (entity "Entity Name" is glitched) {}
}

Examples

script {
  if entity "Entity Name" is glitched then goto successScript;
  if entity "Entity Name" is glitched then goto index 12;
  if entity "Entity Name" is glitched then goto label labelName;
  if entity "Entity Name" is not glitched then goto successScript;
  if entity "Entity Name" is not glitched then goto index 12;
  if entity "Entity Name" is not glitched then goto label labelName;
}

Dictionary entries

if entity $entity:string is glitched
    then goto (script) $success_script:string (;)
	// built-in value: expected_bool = true

if entity $entity:string is glitched
    then goto index $jump_index:number (;)
	// built-in value: expected_bool = true

if entity $entity:string is glitched
    then goto label $jump_index:bareword (;)
	// built-in value: expected_bool = true

if entity $entity:string is not glitched
    then goto (script) $success_script:string (;)
	// built-in value: expected_bool = false

if entity $entity:string is not glitched
    then goto index $jump_index:number (;)
	// built-in value: expected_bool = false

if entity $entity:string is not glitched
    then goto label $jump_index:bareword (;)
	// built-in value: expected_bool = false