From 6cff206a529f47414b22a0bdcb5a756508a2e8c1 Mon Sep 17 00:00:00 2001 From: Blixibon Date: Sun, 5 May 2019 11:50:08 -0500 Subject: [PATCH] Filled in some I/O/KV --- Articles/Base Entity.md | 1 - Base-Entity.md | 25 +++++++++++++++++++++++++ 2 files changed, 25 insertions(+), 1 deletion(-) delete mode 100644 Articles/Base Entity.md create mode 100644 Base-Entity.md diff --git a/Articles/Base Entity.md b/Articles/Base Entity.md deleted file mode 100644 index f56926e..0000000 --- a/Articles/Base Entity.md +++ /dev/null @@ -1 +0,0 @@ -Mapbase makes several changes to the base entity class that every single entity in the Source engine derives from. This means every entity in the FGD possesses these changes. diff --git a/Base-Entity.md b/Base-Entity.md new file mode 100644 index 0000000..63228c0 --- /dev/null +++ b/Base-Entity.md @@ -0,0 +1,25 @@ +Mapbase makes several changes to the base entity class that every single entity in the Source engine derives from. This means every entity in the FGD possesses these changes. + +### Inputs +--- +New User I/O that could pass parameters: +* **PassUser1** `` - Fires OutUser1 with the any parameter. +* **PassUser2** `` - Fires OutUser2 with the any parameter. +* **PassUser3** `` - Fires OutUser3 with the any parameter. +* **PassUser4** `` - Fires OutUser4 with the any parameter. + +* **FireRandomUser** `` - Fires OnUser1, OnUser2, OnUser3, or OnUser4 with a 25% chance of each. +* **PassRandomUser** `` - Fires OutUser1, OutUser2, OutUser3, or OutUser4 with a 25% chance of each, passing any parameter. + +### Outputs +--- +* **OutUser1** `` - Fires in response to the PassUser1 input, outputting any parameter. +* **OutUser2** `` - Fires in response to the PassUser2 input, outputting any parameter. +* **OutUser3** `` - Fires in response to the PassUser3 input, outputting any parameter. +* **OutUser4** `` - Fires in response to the PassUser4 input, outputting any parameter. +--- +* **OnKilled** `` - Fires when this entity is removed with the 'Kill' or 'KillHierarchy' input. + +### KeyValues +--- +No keyvalues have actually been added, although the owner entity can now be accessed with the **OwnerEntity** keyvalue and m_fFlags can now be accessed with the aptly named **m_fFlags** keyvalue, but neither are actually used in any base FGD classes to avoid clutter. \ No newline at end of file