Details

Last Updated
last year
First Uploaded
last year
Downloads
470
Likes
0
Size
42KB
Dependency string
Team036-WeaponCallbacks-1.1.0
Dependants

Categories

This mod provides some useful functions in client.

You should not install this until you are told.

The satchel entity is goint to be invalid in a short time after deployed. So its almost impossible to use GetOrigin() access to the position of the satchel.

Functions

scripts\vscripts\weapons\mp_weapon_satchel.nut


// table collisionParams =
// {
// 	pos = pos,
// 	normal = normal,
// 	hitEnt = hitEnt,
// 	hitbox = hitbox
// 	weapon = weapon
// }
// Works only if the satchel has collision with other entity. Player need to fire the satchel with a large dot angle.
function AddCallback_OnSatchelPlanted_Alter(void functionref( entity player, table collisionParams ) callbackFunc )
function AddCallback_OnSatchelCreated(void functionref( entity satchel, entity  weapon) callbackFunc )
// Works only if player manually detonated. 
function AddCallback_OnSatchelDetonated(void functionref( entity weapon  ) callbackFunc )

scripts\vscripts\cl_utility_modded.nut


bool function IsEnemy(entity player)
bool function IsCoreReady(entity player)
bool function HasElectricSmoke(entity player)
string function GetTitanKit1(entity player)
string function GetTitanKit2(entity player)
asset function GetTitanIcon(entity titan)

Thunderstore development is made possible with ads. Please consider making an exception to your adblock.
Thunderstore development is made possible with ads. Please consider making an exception to your adblock.
Thunderstore development is made possible with ads. Please consider making an exception to your adblock.