Difference between revisions of "0568"

From GTAMods Wiki
Jump to navigation Jump to search
(updating page)
Line 1: Line 1:
{{OpCode
+
{{Icon|VC}} {{Icon|SA}}
| ini        = 0568=2,%1d% %2d%
+
<hr />
| description = Sets the actor to be never targetted
+
'''Description'''
| p1          = Flag (0 = off, 1 = on)
+
: Sets the character to be never targetted
| game        = [[Vice City]], [[San Andreas]]
+
'''Syntax'''
| native      = [[SET_CHAR_NEVER_TARGETTED]]
+
: 0568: set_actor [''char handle''] untargetable [''int'']
}}
+
'''Parameter'''
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.
+
: [''char handle'']
 +
:: The handle of the character
 +
: [''int'']
 +
:: Boolean (0 = can be targetted, 1 = cannot be targetted)
 +
'''Native analog'''
 +
: [[SET_CHAR_NEVER_TARGETTED]]
  
==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
 +
 +
[[Category:OpCodes]]

Revision as of 14:08, 5 September 2011

Vice City San Andreas


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]
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.

Keywords

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