GTAG - Modding - Opcode Database - 031D
Opcode Database
031D
Description | Returns true if the specified actor has been hit by the specified weapon. |
---|---|
Parameters (v2) | 1) Actor handle (Integer) (INT) 2) Weapon ID (Integer) (INT) |
Games | |
Category | Actor, Common, Conditional, Weapon |
Command Name (IV) | HAS_CHAR_BEEN_DAMAGED_BY_WEAPON |
San Andreas | |
sascm.ini | 031D=2, has_char_been_damaged_by_weapon %1d% weapon %2d% |
Example | 031D: has_char_been_damaged_by_weapon $ACTOR_RYDER weapon 51 |
Command Name | HAS_CHAR_BEEN_DAMAGED_BY_WEAPON |
Vice City | |
sascm.ini | 031d=2, actor %1d% hit_by_weapon %2d% |
Example | 031D: actor $853 hit_by_weapon 47 |
Command Name | HAS_CHAR_BEEN_DAMAGED_BY_WEAPON |
GTA III | |
gtascm.ini | 031d=2, actor %1d% hit_by_weapon %2d% |
Example | 031D: actor $4215 hit_by_weapon 1 |
Command Name | HAS_CHAR_BEEN_DAMAGED_BY_WEAPON |