Updated VScript in Mapbase (markdown)

Blixibon 2020-05-23 15:46:02 -05:00
parent f979055875
commit cab432f2b5

@ -110,6 +110,8 @@ The base class all equippable weapons derive from.
|:------------- | :-----| |:------------- | :-----|
| *int* Clip1()| Get the weapon's current primary ammo. | | *int* Clip1()| Get the weapon's current primary ammo. |
| *int* Clip2()| Get the weapon's current secondary ammo. | | *int* Clip2()| Get the weapon's current secondary ammo. |
| *void* SetClip1()| Set the weapon's current primary ammo. |
| *void* SetClip2()| Set the weapon's current secondary ammo. |
| *int* GetMaxClip1()| Get the weapon's maximum primary ammo. | | *int* GetMaxClip1()| Get the weapon's maximum primary ammo. |
| *int* GetMaxClip2()| Get the weapon's maximum secondary ammo. | | *int* GetMaxClip2()| Get the weapon's maximum secondary ammo. |
| *int* GetDefaultClip1()| Get the weapon's default primary ammo. | | *int* GetDefaultClip1()| Get the weapon's default primary ammo. |
@ -331,6 +333,17 @@ Root class of all server-side entities.
| *bool* IsEntVisible(handle *target*)| Check if the specified entity can be visible to this entity. | | *bool* IsEntVisible(handle *target*)| Check if the specified entity can be visible to this entity. |
| *bool* IsVisibleWithMask(Vector *target*, int *traceMask*)| Check if the specified position can be visible to this entity with a specific trace mask. | | *bool* IsVisibleWithMask(Vector *target*, int *traceMask*)| Check if the specified position can be visible to this entity with a specific trace mask. |
| *int* Classify()| Get Class_T class ID | | *int* Classify()| Get Class_T class ID |
| *int* GetSpawnFlags()| Get spawnflags |
| *void* AddSpawnFlags()| Add spawnflag(s) |
| *void* RemoveSpawnFlags()| Remove spawnflag(s) |
| *void* ClearSpawnFlags()| Clear spawnflag(s) |
| *bool* HasSpawnFlags()| Check if the entity has specific spawnflag(s) ticked |
| *int* GetEffects()| Get effects |
| *void* AddEffects()| Add effect(s) |
| *void* RemoveEffects()| Remove effect(s) |
| *void* ClearEffects()| Clear effect(s) |
| *void* SetEffects()| Set effect(s) |
| *void* IsEffectActive()| Check if an effect is active |
*** ***