Updated VScript in Mapbase (markdown)

Blixibon 2020-06-12 00:06:43 -05:00
parent 9b498a0186
commit 7dc7938c62

@ -193,6 +193,7 @@ Root class of all server-side entities. This class was already exposed to VScrip
| Signature | Description | | Signature | Description |
|:------------- | :-----| |:------------- | :-----|
| *bool* Input*InputName*()| Called when the entity receives an input from the I/O system. [This already existed in L4D2](https://developer.valvesoftware.com/wiki/List_of_L4D2_Script_Functions#Hooks), but Mapbase adds a `parameter` value which contains the input's parameter. | | *bool* Input*InputName*()| Called when the entity receives an input from the I/O system. [This already existed in L4D2](https://developer.valvesoftware.com/wiki/List_of_L4D2_Script_Functions#Hooks), but Mapbase adds a `parameter` value which contains the input's parameter. |
| *bool* FireBullets()| Called when the entity fires bullets. The involved `FireBulletsInfo_t` can be accessed via `info`. Returning true on this function will allow the bullets to be fired, but returning false prevents the bullets from being fired at all. |
*** ***