Skip to reading
PCA Script Programming

remove_attach_point()

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

Remove Attach Point | Action ID: RemoveAttachPoint

Remove a named attach point from an object or character.

Source table from remove_attach_point(), page 159
Option key / fieldMeaning and accepted inputDefault
Object / Character entityIdChoose a scene entity ID.Blank
Attach Point pointName of the source attach point.Blank

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

Code example
remove_attach_point({"entityId": "archive_door", "point": ""})

In use. Remove a temporary alignment point after staging a sequence. Any attachment or watch referring to that name must be cleaned up as well; it cannot follow a point that no longer exists.

get_attach_point()#

Get Attach Point | Action ID: GetAttachPoint

Read an attach point's information and optionally store the result in a game variable.

Source table from remove_attach_point(), page 159
Option key / fieldMeaning and accepted inputDefault
Object / Character entityIdChoose a scene entity ID.Blank
Attach Point pointName of the source attach point.Blank
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
get_attach_point({"entityId": "archive_door", "point": "", "resultVariable": ""})

In use. Store a hand point in hand_info for a script to inspect. This returns structured information rather than a ready-made visual branch. Inspect the result before assuming a missing point has a usable world position.

Page 159 of 357Permalink
Go to page