跳至主要内容

Bullet Hit Types

資訊

This page contains all of the bullet hit types which are used by OnPlayerWeaponShot.


ValueDefinition
0BULLET_HIT_TYPE_NONE
1BULLET_HIT_TYPE_PLAYER
2BULLET_HIT_TYPE_VEHICLE
3BULLET_HIT_TYPE_OBJECT
4BULLET_HIT_TYPE_PLAYER_OBJECT

警告

BULLET_HIT_TYPE_PLAYER is also called for NPCs. Actors are ignored by this callback and detects as BULLET_HIT_TYPE_NONE.