Difference between revisions of "035D"

From GTAMods Wiki
Jump to navigation Jump to search
(Created page with "thumb|300px|035D makes this explosive barrel targettable {{Icon|trilogy}} '''MAKE_<wbr>OBJECT_<wbr>TARGETTABLE''' <hr /> '''Description''' : Make the object...")
 
(limitation)
 
Line 13: Line 13:
 
:: 0 = not targettable (default), 1 = targettable
 
:: 0 = not targettable (default), 1 = targettable
  
This opcode makes the object targettable (ability to be auto-aimed). In GTA III and Vice City, there is no way to remove this property from the object without deleting and recreating the object. Auto-aim only has an effect when using classic or joypad controls; it has no use in standard controls.
+
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 [[Saves (GTA 3)#Block 1: Player Peds|block 1 of the save file]] in GTA III and [[Saves (GTA VC)#Block 1: Player Peds|block 1]] in Vice City.
  
 
== Keywords ==
 
== Keywords ==

Latest revision as of 17:04, 6 August 2015

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