Skip to reading
Actions, Properties & Runtime Updates

Read what the Runner actually did

Edition 0.86.4.4 Hotfix 2

Updated through 0.86.4.4 Hotfix 2, with cinematic property, recorded-pose or voice-timing lessons as described in this guide. Earlier examples, screenshots and complete registry figures retain their stated edition context.

Download PDFView PDF page

0.86.4.0 / ACTIONS AND PROPERTIES

RUNTIME WALKTHROUGH

Use a checked call when the next line of your script depends on the outcome. First check ok. On success, the property actions covered here return a result dictionary with a status. On failure, read error and message on the reply.

Source table from Read what the Runner actually did, page 32
result.statusWhat to do next
appliedThe active component accepted its new setting. When supplied, effective gives the value that was applied.
unchangedThe current value already matches. Repeating a brightness edit need not rebuild the light. A first persistent pin can still change its lifetime.
resource_refreshedA resource such as a texture or GUI style was refreshed. Check that surrounding state, such as the text caret, survived.
component_rebuiltA component had to be replaced. Check its continuity: for a model, watch the actor; for a particle layer, expect the simulation to be able to restart.
stored_for_loadVisit or reload the target room. Its scene or setting has been recorded for that later point.
stored_for_activationActivate the named shot or applicable component, then inspect the change.
definition_onlyThe record changed. Check how the owning feature reads its definition before expecting a visual change.
subsystem_refreshThe widget or other owning system handled its refresh. Inspect that particular control.

An error takes a different route

If ok is false, log reply.error and reply.message. A missing resource and an unchanged value need different responses. Only the successful property result has the status you are looking for.

PCA 3D / Actions and properties

Page 32 of 39Permalink
Go to page