Updated VScript in Mapbase (markdown)

Blixibon 2020-07-19 09:18:41 -05:00
parent 142c62f2b4
commit 1879733f5e

@ -368,6 +368,15 @@ The player entity. This class was already exposed to VScript, but it has new fea
***
#### CBasePlayer Hooks
| Signature | Description |
|:------------- | :-----|
| *void* PlayerRunCommand()| Called when the player runs a movement command. Uses a `command` variable containing a `CUserCmd` instance representing the command. |
| *void* ClientCommand()| Called when the player runs an unknown console command. Uses a `command` variable containing the command and an `args` variable containing a list of argument strings based on the arguments passed with the command. |
***
### CHL2_Player
The HL2 player entity.
@ -801,8 +810,8 @@ Accessor for information about an enemy. Typically accessed through `FindEnemyMe
| *void* SetDangerMemory(bool *value*)| Set the memory of danger position w/o enemy pointer. |
| *bool* EludedMe()| Get whether the enemy is not at the last known location. |
| *void* SetEludedMe(bool *value*)| Set whether the enemy is not at the last known location. |
| *bool* Unforgettable()| Get whether the enemy is unfortgettable. |
| *void* SetUnforgettable(bool *value*)| Set whether the enemy is unfortgettable. |
| *bool* Unforgettable()| Get whether the enemy is unforgettable. |
| *void* SetUnforgettable(bool *value*)| Set whether the enemy is unforgettable. |
| *bool* MobbedMe()| Get whether the enemy was part of a mob at some point. |
| *void* SetMobbedMe(bool *value*)| Set whether the enemy was part of a mob at some point. |
@ -854,7 +863,7 @@ Handler for four-wheel vehicle physics. Can be accessed through `GetPhysics()` o
***
### CUserCmd
Handle for accessing CUserCmd info. Typically used in the `RunPlayerCommand` hook.
Handle for accessing CUserCmd info. Typically used in the `PlayerRunCommand` hook.
| Signature | Description |
|:------------- | :-----|