0291

From GTAMods Wiki
Jump to navigation Jump to search

GTA III Vice City SET_CHAR_HEED_THREATS


Description
Sets the character to heed threats
Syntax
0291: set_actor [char handle] heed_threats [int]
Parameter
[char handle]
The handle of the character
[int]
0 = don't heed threats, 1 = heed threats

A newly spawned character does not react when threatened by most events, e.g. getting punched or about to be run over by a car. This opcode sets the character to heed threats and react to them accordingly, e.g. running away, attacking back, or dodging a car. The game can cause the character to heed threats on its own depending on the conditions. Alternative documentations describe this opcode as setting the character to attack when provoked.

Keywords

set, actor, character, heed, threats