Entity I/O
Entity I/O system (inputs/outputs) for Source2Mod.
Provides:
- Access to entity outputs (OnTrigger, OnUse, etc.)
- Hooking system for listening to outputs
- Filtering by entity + classname + output name
Equivalent to Hammer I/O system (FireOutput / AcceptInput).
Data passed to inputs.
Header source2mod/schema/entityio.h
Fields
| Field | Type | Description |
|---|---|---|
pActivator | CBaseEntity* | Entity that triggered the input |
pCaller | CBaseEntity* | Entity owning the output |
value | variant_t | Passed value |
nOutputID | int |
Macros
NULL
#define NULL 0Entity I/O system (inputs/outputs) for Source2Mod.
Provides:
- Access to entity outputs (OnTrigger, OnUse, etc.)
- Hooking system for listening to outputs
- Filtering by entity + classname + output name
Equivalent to Hammer I/O system (FireOutput / AcceptInput).