Difference between revisions of "0524"

From GTAMods Wiki
Jump to navigation Jump to search
(Created page with "{{Icon|VC}} '''ATTACH_CUTSCENE_OBJECT_TO_BONE''' <hr /> '''Description''' : Attaches a cutscene object to the bone of another cutscene object '''Syntax''' : 0524: attach_cutsc...")
(No difference)

Revision as of 20:07, 15 January 2015

Vice City ATTACH_CUTSCENE_OBJECT_TO_BONE


Description

Attaches a cutscene object to the bone of another cutscene object

Syntax

0524: attach_cutscene_object [object handle] to_bone [object handle] [int]

Parameter

[object handle]
The handle of the object attaching
[object handle]
The handle of the object to attach onto
[int]
Bone

This opcode attaches a cutscene object to the bone of another cutscene object. Cutscene objects are created using opcode 02E5. If the bone does not exist, the object will not appear at all. The primary advantage of using this opcode over using 02E6 is that the object does not need to have its own animation. Any cutscene objects work including character models, but character models are not recommended because they will show up as a clump of meat. The original script called this opcode three times using the left or right hand as the bone to attach.

Keywords

attach, cut, scene, cutscene, command, object, bone