Script:detach: Difference between revisions

From Arx Libertatis Wiki
Jump to navigation Jump to search
(Created page with "{{ScriptCommandPage |description=unlink the position and rotation of an entity from another entity |context=self |parameters= source entity The entity to detach target entity The entity to detach from |intro=This undoes link established by the {{Command|attach}} command. It does nothing if the given source entity is not linked to the given target entity. }}")
 
mNo edit summary
Line 7: Line 7:
|intro=This undoes link established by the {{Command|attach}} command. It does nothing if the given source entity is not linked to the given target entity.
|intro=This undoes link established by the {{Command|attach}} command. It does nothing if the given source entity is not linked to the given target entity.
}}
}}
[[Category:Script commands linking entities]]

Revision as of 13:02, 19 June 2022

The detach script command is used to unlink the position and rotation of an entity from another entity. This undoes link established by the attach command. It does nothing if the given source entity is not linked to the given target entity.

Usage

detach <source> <target>

Context: For self

Parameters:

ParameterTypeDescription
source entity The entity to detach
target entity The entity to detach from