Skip to reading
PCA Script Programming

detach_object()

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

Detach Object | Action ID: DetachObject

Detach an object that was attached through the attachment system.

Source table from detach_object(), page 166
Option key / fieldMeaning and accepted inputDefault
Object entityIdChoose a scene entity ID.Blank

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

Code example
detach_object({"entityId": "archive_door"})

In use. Detach the lantern before placing it on the table, then position it as required. Detaching does not automatically give an inventory item back or select a new animation.

Page 166 of 357Permalink
Go to page