Skip to reading
PCA Script Programming

get_attach_point_contacts()

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

Get Attach Point Contacts | Action ID: GetAttachPointContacts

Get contact information for the requested point/target filters.

Source table from get_attach_point_contacts(), page 163
Option key / fieldMeaning and accepted inputDefault
Object / Character entityIdChoose a scene entity ID.Blank
Attach Point pointName of the source attach point.Blank
Target Object targetIdChoose a scene entity ID.Blank
Target Attach Point targetPointName of the attach point on the target entity.Blank
Contact Tolerance toleranceExtra allowed contact distance; use a nonnegative number.0.0
Store Result in Variable resultVariableName of the game variable that receives the returned value.Blank

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

Code example
let options = {}
options["entityId"] = "archive_door"
options["point"] = ""
options["targetId"] = "archive_door"
get_attach_point_contacts(options)

In use. Read contact details for a carried tool and let a script decide which target was touched. A returned collection or record is not automatically converted into a puzzle success flag.

Page 163 of 357Permalink
Go to page