0568

From GTAModding
Jump to: navigation, search

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

Personal tools