Difference between revisions of "0568"

From GTAMods Wiki
Jump to navigation Jump to search
(updating page)
m
 
Line 1: Line 1:
{{Icon|VC}} {{Icon|SA}}
+
{{OpCode
<hr />
+
| games      = {{Icon|VC}} {{Icon|SA}}
'''Description'''
+
| command    = SET_CHAR_NEVER_TARGETTED
: Sets the character to be never targetted
+
| description = Sets the character to be never targetted
'''Syntax'''
+
| syntax1    = 0568: set_actor [''char handle''] untargetable [''int'']
: 0568: set_actor [''char handle''] untargetable [''int'']
+
| p1t        = [''char handle'']
'''Parameter'''
+
| p1d        = The handle of the character
: [''char handle'']
+
| p2t        = [''int'']
:: The handle of the character
+
| p2d        = 0 = can be targetted (default), {{hint|1|or any value other than 0}} = cannot be targetted
: [''int'']
+
| native      = [[SET_CHAR_NEVER_TARGETTED]]
:: Boolean (0 = can be targetted, 1 = cannot be targetted)
+
}}
'''Native analog'''
 
: [[SET_CHAR_NEVER_TARGETTED]]
 
  
 
This opcode sets the character to be never targetted (auto-aimed) by the player. Characters can only be auto-aimed while in classic or joypad controls, so the opcode serves no function in standard controls.
 
This opcode sets the character to be never targetted (auto-aimed) by the player. Characters can only be auto-aimed while in classic or joypad controls, so the opcode serves no function in standard controls.
Line 17: Line 15:
 
== Keywords ==
 
== Keywords ==
 
set, toggle, actor, character, target, targetable, targetability
 
set, toggle, actor, character, target, targetable, targetability
 
[[Category:OpCodes]]
 

Latest revision as of 23:11, 4 December 2016

Vice City San Andreas SET_CHAR_NEVER_TARGETTED


Description
Sets the character to be never targetted
Syntax
0568: set_actor [char handle] untargetable [int]
Parameter
[char handle]
The handle of the character
[int]
0 = can be targetted (default), 1 = cannot be targetted
Native analog
SET_CHAR_NEVER_TARGETTED

This opcode sets the character to be never targetted (auto-aimed) by the player. Characters can only be auto-aimed while in classic or joypad controls, so the opcode serves no function in standard controls.

Keywords

set, toggle, actor, character, target, targetable, targetability