GTAG - Modding - Opcode Database - 0291
Opcode Database
0291
| Description | Tells the game to make the specified actor attack whoever attacks him. |
|---|---|
| Parameters (v2) | 1) Actor handle (Integer) (INT) 2) Boolean (1 or 0) (INT) |
| Games | |
| Category | Actor, Common |
| Command Name (IV) | SET_CHAR_HEED_THREATS |
| Vice City | |
| sascm.ini | 0291=2,set_actor %1d% attack_when_provoked %2d% |
| Example | 0291: set_actor $1037 attack_when_provoked 1 |
| GTA III | |
| gtascm.ini | 0291=2,set_actor %1d% attack_when_provoked %2d% |
| Example | 0291: unknown_actor $CRIMINAL_FOR_VIGILANTE unknown_behavior_flag 1 |
| Command Name | SET_CHAR_HEED_THREATS |

