Skip to reading
Actions, Properties & Runtime Updates

Fix a bad argument at its source

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 illustrations

CHAPTER 06 / VALIDATING AN ACTION

This doorway points to a real room and a missing spawn. The useful clue is the warning directly under the fields.

The editor identifies the rejected field and the value: spawnId “rear_stairs” was not found for ChangeScene.

1 Read the argument named in the warning. Here spawnId is what failed. roof is a valid room. Changing the transition or increasing its duration won’t repair the destination.

2 Check the parent record first. Set Destination room to Beacon Deck. Open its Spawn picker and choose entry. If the doorway is supposed to lead to a different room, choose that room before choosing its spawn.

3 Apply and run Validate again. Check the report for this action, then play through the doorway. Other warnings in a large project can be reviewed separately. Confirm the player arrives in the right place.

If a variable supplies the ID

A variable can hold a different value every time the door opens. Check its contents when the action runs. A successful editor check of the action’s structure cannot guarantee the variable points to a real spawn in that room.

Page 11 of 39Permalink
Go to page