Updated VScript in Mapbase (markdown)

Blixibon 2020-06-11 23:29:32 -05:00
parent 4813c79a35
commit 7ab03f388b

@ -50,8 +50,10 @@ For more information on VScript itself, [click here](https://developer.valvesoft
* [Data Containers](VScript-in-Mapbase#Data-Containers)
* [CScriptKeyValues](VScript-in-Mapbase#CScriptKeyValues)
* [CTakeDamageInfo](VScript-in-Mapbase#CTakeDamageInfo)
* [Global Functions](VScript-in-Mapbase#CTakeDamageInfo-Global-Functions)
* [CGameTrace](VScript-in-Mapbase#CGameTrace)
* [CFireBulletsInfo](VScript-in-Mapbase#CFireBulletsInfo)
* [FireBulletsInfo_t](VScript-in-Mapbase#FireBulletsInfo_t)
* [Global Functions](VScript-in-Mapbase#FireBulletsInfo_t-Global-Functions)
* [AI_EnemyInfo_t](VScript-in-Mapbase#AI_EnemyInfo_t)
* [CAI_Expresser](VScript-in-Mapbase#CAI_Expresser)
* [CFourWheelVehiclePhysics](VScript-in-Mapbase#CFourWheelVehiclePhysics)
@ -109,8 +111,6 @@ These are functions that can be accessed globally and without a class.
| *bool* MegaPhyscannonActive()| Checks if supercharged gravity gun mode is enabled. |
| *void* printc(string *text*)| Version of print() which takes a color before the message. |
| *void* printcl(string *text*)| Version of printl() which takes a color before the message. |
| *CTakeDamageInfo* CreateDamageInfo(handle *inflictor*, handle *attacker*, Vector *force*, Vector *damagePos*, float *damage*, int *type*)| Creates damage info. |
| *void* DestroyDamageInfo(CTakeDamageInfo *info*)| Destroys damage info. |
***
@ -533,6 +533,15 @@ Damage information handler.
***
#### CTakeDamageInfo Global Functions
| Signature | Description |
|:------------- | :-----|
| *CTakeDamageInfo* CreateDamageInfo(handle *inflictor*, handle *attacker*, Vector *force*, Vector *damagePos*, float *damage*, int *type*)| Creates damage info. |
| *void* DestroyDamageInfo(CTakeDamageInfo *info*)| Destroys damage info. |
***
### CGameTrace
Handle for accessing trace_t info.
@ -563,7 +572,7 @@ Handle for accessing trace_t info.
***
### CFireBulletsInfo
### FireBulletsInfo_t
Handle for accessing FireBulletsInfo_t info.
| Signature | Description |
@ -599,6 +608,15 @@ Handle for accessing FireBulletsInfo_t info.
***
#### FireBulletsInfo_t Global Functions
| Signature | Description |
|:------------- | :-----|
| *FireBulletsInfo_t* CreateFireBulletsInfo(*int* shots, *Vector* source, *Vector* direction, *Vector* spread, *float* damage, *CBaseEntity* attacker)| Creates FireBullets info. |
| *void* DestroyFireBulletsInfo(*FireBulletsInfo_t* info)| Destroys FireBullets info. |
***
### AI_EnemyInfo_t
Accessor for information about an enemy. Typically accessed through `FindEnemyMemory()`.