035D

From GTAMods Wiki
Revision as of 17:04, 6 August 2015 by Spaceeinstein (talk | contribs) (limitation)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
035D makes this explosive barrel targettable

GTA III Vice City San Andreas MAKE_OBJECT_TARGETTABLE


Description

Make the object targettable

Syntax

GTA III Vice City 035D: make_object [object handle] targetable
San Andreas 035D: set_object [object handle] targetable [int]

Parameter

[object handle]
The handle of the object
[int]
0 = not targettable (default), 1 = targettable

This opcode makes the object targettable (ability to be auto-aimed). Auto-aim only has an effect when using classic or joypad controls; it has no use in standard controls. In GTA III and Vice City, there is no way to remove this property from the object without deleting and recreating the object. There can only be four targettable objects at a time. Trying to make more objects targettable yields no effect. This property of the object is saved in block 1 of the save file in GTA III and block 1 in Vice City.

Keywords

make, set, object, target, targettable, targetable