Difference between revisions of "0568"

From GTAMods Wiki
Jump to navigation Jump to search
Line 1: Line 1:
<code>0568=2,%1d% %2d%</code><br>
+
{{OpCode
'''Description''': Sets the actor's ability to be targeted<br>
+
| ini        = 0568=2,%1d% %2d%
'''Parameter 1''': Actor handle<br>
+
| description = Sets the actor to be never targetted
'''Parameter 2''': Flag<br>
+
| p1          = Flag (0 = off, 1 = on)
'''Supports''': Vice City, San Andreas<br>
+
| game        = [[Vice City]], [[San Andreas]]
 
+
| native      = [[SET_CHAR_NEVER_TARGETTED]]
The actor being able to be targeted only works in classic or joypad mode. This opcode can prevent an actor be auto-aimed.
+
}}
 
+
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.
==Flags==
 
'''Flag 0''': Enables targetability<br>
 
'''Flag 1''': Disables targetability
 
  
 
==Keywords==
 
==Keywords==
set, toggle, actor, target, targetable, targetability
+
set, toggle, actor, character, target, targetable, targetability
 
 
[[Category:OpCodes]]
 

Revision as of 15:27, 3 May 2010

{{{games}}}


Description
Sets the actor to be never targetted
Syntax
{{{syntax1}}}
Parameter
Native analog
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

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