From dff04e0ae16d10c7373af6231678987ff95c482f Mon Sep 17 00:00:00 2001 From: Blixibon Date: Thu, 11 Jun 2020 22:45:43 -0500 Subject: [PATCH] Updated VScript in Mapbase (markdown) --- VScript-in-Mapbase.md | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) diff --git a/VScript-in-Mapbase.md b/VScript-in-Mapbase.md index 65fb52c..07c7188 100644 --- a/VScript-in-Mapbase.md +++ b/VScript-in-Mapbase.md @@ -50,6 +50,7 @@ For more information on VScript itself, [click here](https://developer.valvesoft * [CScriptKeyValues](VScript-in-Mapbase#CScriptKeyValues) * [CTakeDamageInfo](VScript-in-Mapbase#CTakeDamageInfo) * [CGameTrace](VScript-in-Mapbase#CGameTrace) + * [CFireBulletsInfo](VScript-in-Mapbase#CFireBulletsInfo) * [AI_EnemyInfo_t](VScript-in-Mapbase#AI_EnemyInfo_t) * [CAI_Expresser](VScript-in-Mapbase#CAI_Expresser) * [CFourWheelVehiclePhysics](VScript-in-Mapbase#CFourWheelVehiclePhysics) @@ -524,6 +525,42 @@ Handle for accessing trace_t info. *** +### CFireBulletsInfo +Handle for accessing FireBulletsInfo_t info. + +| Signature | Description | +|:------------- | :-----| +| *int* GetShots()| Gets the number of shots which should be fired. | +| *void* SetShots(*int* value)| Gets the number of shots which should be fired. | +| *Vector* GetSource()| Gets the source of the bullets. | +| *void* SetSource(*Vector* value)| Sets the source of the bullets. | +| *Vector* GetDirShooting()| Gets the direction of the bullets. | +| *void* SetDirShooting(*Vector* value)| Sets the direction of the bullets. | +| *Vector* GetSpread()| Gets the spread of the bullets. | +| *void* SetSpread(*Vector* value)| Sets the spread of the bullets. | +| *float* GetDistance()| Gets the distance the bullets should travel. | +| *void* SetDistance(*float* value)| Sets the distance the bullets should travel. | +| *int* GetAmmoType()| Gets the ammo type the bullets should use. | +| *void* SetAmmoType(*int* value)| Sets the ammo type the bullets should use. | +| *int* GetTracerFreq()| Gets the tracer frequency. | +| *void* SetTracerFreq(*int* value)| Sets the tracer frequency. | +| *float* GetDamage()| Gets the damage the bullets should deal. 0 = use ammo type. | +| *void* SetDamage(*float* value)| Sets the damage the bullets should deal. 0 = use ammo type. | +| *int* GetPlayerDamage()| Gets the damage the bullets should deal when hitting the player. 0 = use regular damage | +| *void* SetPlayerDamage(*int* value)| Sets the damage the bullets should deal when hitting the player. 0 = use regular damage | +| *int* GetFlags()| Gets the flags the bullets should use. | +| *void* SetFlags(*int* value)| Sets the flags the bullets should use. | +| *float* GetDamageForceScale()| Gets the scale of the damage force applied by the bullets | +| *void* SetDamageForceScale(*float* value)| Sets the scale of the damage force applied by the bullets. | +| *CBaseEntity* GetAttacker()| Gets the entity considered to be the one who fired the bullets. | +| *void* SetAttacker(*CBaseEntity* value)| Sets the entity considered to be the one who fired the bullets. | +| *CBaseEntity* GetAdditionalIgnoreEnt()| Gets the optional entity which the bullets should ignore. | +| *void* SetAdditionalIgnoreEnt(*CBaseEntity* value)| Sets the optional entity which the bullets should ignore. | +| *bool* GetPrimaryAttack()| Gets whether the bullets came from a primary attack. | +| *void* SetPrimaryAttack(*bool* value)| Sets whether the bullets came from a primary attack. | + +*** + ### AI_EnemyInfo_t Accessor for information about an enemy. Typically accessed through `FindEnemyMemory()`.