0291
Revision as of 05:37, 20 January 2016 by Spaceeinstein (talk | contribs) (Created page with "{{OpCode | games = {{Icon|3}} {{Icon|VC}} | command = SET_CHAR_HEED_THREATS | description = Sets the character to heed threats | syntax1 = 0291: set_actor [''cha...")
- 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