Updated Base Entity (markdown)

Blixibon 2019-09-26 12:04:38 -05:00
parent 960cf99a27
commit 7ff65b59dd

@ -13,7 +13,7 @@ New User I/O that could pass parameters:
* **FireRandomUser** `<void>` - Fires OnUser1, OnUser2, OnUser3, or OnUser4 with a 25% chance of each. * **FireRandomUser** `<void>` - Fires OnUser1, OnUser2, OnUser3, or OnUser4 with a 25% chance of each.
* **PassRandomUser** `<any>` - Fires OutUser1, OutUser2, OutUser3, or OutUser4 with a 25% chance of each, passing any parameter. * **PassRandomUser** `<any>` - Fires OutUser1, OutUser2, OutUser3, or OutUser4 with a 25% chance of each, passing any parameter.
--- ---
* **SetTarget** `<string>` - A special new input designed to change an entity's "target", including things like path_track paths and env_gunfire targets. By default, this changes the common `target` keyvalue on entities. Some entities override SetTarget for their own keyvalues, e.g. `scripted_sequence`'s target NPC. This also calls `Activate()`, which is commonly used to assign m_target to cached entity handles. * **SetTarget** `<string>` - A special new input designed to change an entity's "target", including things like path_track paths and env_gunfire targets. By default, this changes the common `target` keyvalue on entities. Some entities override SetTarget for their own keyvalues, e.g. `scripted_sequence`'s target NPC. In code, this also calls `Activate()`, which is commonly used to assign `m_target` to cached entity handles.
* **SetOwnerEntity** `<ehandle>` - Sets this entity's "owner entity". Owner entities are used for kill credit, non-collision, etc. * **SetOwnerEntity** `<ehandle>` - Sets this entity's "owner entity". Owner entities are used for kill credit, non-collision, etc.
--- ---
* **SetHealth** `<integer>` - Sets this entity's health. This input already existed on several entities, but now it's part of all entities. * **SetHealth** `<integer>` - Sets this entity's health. This input already existed on several entities, but now it's part of all entities.