mirror of
https://github.com/mapbase-source/source-sdk-2013.git
synced 2025-05-15 16:22:28 +03:00
Updated VScript in Mapbase (markdown)
parent
9b498a0186
commit
7dc7938c62
@ -193,6 +193,7 @@ Root class of all server-side entities. This class was already exposed to VScrip
|
||||
| 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* 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. |
|
||||
|
||||
***
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user