From f06898a2f26b965de25e11c9a4e9371bfe64d88c Mon Sep 17 00:00:00 2001 From: Blixibon Date: Sun, 1 Dec 2019 16:05:09 -0600 Subject: [PATCH] Updated Prefabs and workarounds obsoleted by Mapbase (markdown) --- Prefabs-and-workarounds-obsoleted-by-Mapbase.md | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/Prefabs-and-workarounds-obsoleted-by-Mapbase.md b/Prefabs-and-workarounds-obsoleted-by-Mapbase.md index f8f5849..bbb5cd9 100644 --- a/Prefabs-and-workarounds-obsoleted-by-Mapbase.md +++ b/Prefabs-and-workarounds-obsoleted-by-Mapbase.md @@ -12,7 +12,19 @@ Mapbase adds corresponding inputs to some keyvalues, meaning `AddOutput` wouldn' | All Entities | `rendermode` | SetRenderMode | Sets an entity's render mode. | | All Entities | `renderfx` | SetRenderFX | Sets an entity's render FX. | | All Entities | `effects` | AddEffects, RemoveEffects | Sets an entity's effect flags. | +| All NPCs | `hintgroup` | SetHintGroup | Sets an NPC's hint group. This was also possible through the existing `ai_changehintgroup` entity. | | npc_combine_s | `numgrenades` | SetGrenades, AddGrenades | Sets a soldier's number of grenades. | | npc_combine_s | `tacticalvariant` | SetTacticalVariant | Sets a soldier's tactical variant. | -(todo) \ No newline at end of file +(todo) + +## Triggers and entity finders + +Some cases call for some really complicated trigger logic when it comes to finding a certain entity/number of entities under specific criteria. + +Mapbase adds two new entities designed to find other entities: + +* `point_entity_finder` - An entity designed by Valve and introduced in Left 4 Dead designed to find a single entity in a level, using a filter and a variety of search methods with a reference entity (e.g. nearest to the reference entity). It was ported to Mapbase via the Alien Swarm SDK. +* `point_advanced_finder` - An entity unique to Mapbase which performs more complicated and advanced finding functions or criteria compared to `point_entity_finder`, including a specific number of entities, a delay in between outputs fired, etc. + +Both of these entities have their own benefits and limitations. \ No newline at end of file