Difference between revisions of "0568"

From GTAMods Wiki
Jump to navigation Jump to search
m
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 
{{OpCode
 
{{OpCode
| ini        = 0568=2,%1d% %2d%
+
| games      = {{Icon|VC}} {{Icon|SA}}
| description = Sets the actor to be never targetted
+
| command    = SET_CHAR_NEVER_TARGETTED
| p1          = Flag (0 = off, 1 = on)
+
| description = Sets the character to be never targetted
| game        = [[Vice City]], [[San Andreas]]
+
| syntax1    = 0568: set_actor [''char handle''] untargetable [''int'']
 +
| p1t        = [''char handle'']
 +
| p1d        = The handle of the character
 +
| p2t        = [''int'']
 +
| p2d        = 0 = can be targetted (default), {{hint|1|or any value other than 0}} = cannot be targetted
 
| native      = [[SET_CHAR_NEVER_TARGETTED]]
 
| native      = [[SET_CHAR_NEVER_TARGETTED]]
 
}}
 
}}
This sets the actor to be never auto-aimed by the player. Actors can only be auto-aimed while in classic or joypad controls so the opcode is useless in standard controls.
 
  
==Keywords==
+
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
 
set, toggle, actor, character, target, targetable, targetability

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