mirror of
https://github.com/mapbase-source/source-sdk-2013.git
synced 2024-12-26 06:45:31 +03:00
Updated Base Entity (markdown)
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.
|
||||
* **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.
|
||||
---
|
||||
* **SetHealth** `<integer>` - Sets this entity's health. This input already existed on several entities, but now it's part of all entities.
|
||||
|
Loading…
Reference in New Issue
Block a user