Opcode Database

Latest Forum Activity

GTAG - Modding - Opcode Database - 070A

Opcode Database

070A

DescriptionAttaches the specified actor to an object with the optional addition of having it perform an animation.

The animation function is rarely used.
Parameters (v2)1) Actor handle (Integer) (INT)
2) Object handle (Integer) (INT)
3) X Offset (Float) (FLOAT)
4) Y Offset (Float) (FLOAT)
5) Z Offset (Float) (FLOAT)
6) Actor bone ID (Integer) (INT)
7) Integer (INT)
8) Animation name (String) (STRING)
9) Animation file (String) (INT)
10) Time in ms (Integer) (INT)
Gamessa
CategoryActor, Animation, Common, Object
Command Name (IV)ATTACH_OBJECT_TO_PED
San Andreas
sascm.ini070A=10,task_pick_up_object %1d% object %2d% offset %3d% %4d% %5d% bone %6h% %7h% anim %8h% ifp %9h% time %10h%
Example070A: task_pick_up_object 358@ object 359@ offset 0.0 0.0 0.0 bone 6 16 anim "NULL" ifp "NULL" time 1
Command NameTASK_PICK_UP_OBJECT

<< 0709

070B >>