From 7dc7938c625510687517b0791d8316fd378e331c Mon Sep 17 00:00:00 2001 From: Blixibon Date: Fri, 12 Jun 2020 00:06:43 -0500 Subject: [PATCH] Updated VScript in Mapbase (markdown) --- VScript-in-Mapbase.md | 1 + 1 file changed, 1 insertion(+) diff --git a/VScript-in-Mapbase.md b/VScript-in-Mapbase.md index 598f8ae..34d86ac 100644 --- a/VScript-in-Mapbase.md +++ b/VScript-in-Mapbase.md @@ -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. | ***