GTAG - Modding - Opcode Database - 0AD2
Opcode Database
0AD2
Description | Receives the handle of the actor that is currently being aimed at by the player. This opcode can be used as a condition. If a targeted actor was found it returns true, otherwise it returns false. |
---|---|
Parameters (v2) | 1) Player handle (Integer) (INT) 2) (Returned) Actor handle (Integer) (INT) |
Games | |
Category | CLEO 4 |
San Andreas | |
sascm.ini | 0AD2=2, get_char_player_is_targeting %1d% store_to %2d% |
Example | 0AD2: get_char_player_is_targeting $PLAYER_CHAR store_to 0@ |
Command Name | GET_CHAR_PLAYER_IS_TARGETING |