
Titanfall 2: Northstar
You are viewing a potentially older version of this package. View Latest Version

You should not install this until you are told.
// This allows you to get the entity your crosshair look at.
void function AddCallback_CrosshairCurrentTargetChanged( void functionref( entity player, entity newTarget ) callbackFunc )
// When localplayer did damage
// global struct PlayerDidDamageParams
// {
// entity victim
// vector damagePosition
// int hitBox
// int damageType
// float damageAmount
// int damageFlags
// int hitGroup
// entity weapon
// float distanceFromAttackOrigin
// }
void function AddCallback_PlayerDidDamage( void functionref( PlayerDidDamageParams ) callbackFunc )