Skip to reading
PCA Script Programming

cycle_interaction_verb()

Edition 0.86.4.1 HF1

0.86.4.1 Hotfix 1 edition. Earlier lessons and screenshots retain their original version context; revised references and supplements describe the newer behavior.

Download PDFView PDF page

Cycle Verb | Action ID: CycleInteractionVerb

Move forward or backward through the runtime verb cycle.

Source table from cycle_interaction_verb(), page 189
Option key / fieldMeaning and accepted inputDefault
Direction directionWhole number. Range: -1 to 1.1

Timing. The call waits for its runtime routine to return; no additional completion wait is promised by this schema.

Code example
cycle_interaction_verb({"direction": 1})

In use. Use direction 1 for the next verb and -1 for the previous one. A value of 0 does not mean "first verb." The cycle depends on the enabled verbs and current interaction settings.

interact_nearest()#

Interact with Nearest Hotspot | Action ID: InteractNearest

Perform a verb interaction with the nearest eligible hotspot under the proximity system.

Source table from cycle_interaction_verb(), page 189
Option key / fieldMeaning and accepted inputDefault
Verb verbIdChoose a Verb Designer ID. May be blank.Blank

Timing. The call waits for its runtime routine to return; no additional completion wait is promised by this schema.

Code example
interact_nearest({"verbId": ""})

In use. Use it for a controller interaction button. Select a verb or leave the optional verb selection to the current behavior. Test target selection in a crowded room.

Page 189 of 357Permalink
Go to page