CBaseVPhysicsTrigger
Jump to navigation
Jump to search
Code classes:
CBaseVPhysicsTrigger
CBaseEntity
(all ents)
CBaseVPhysicsTrigger
is a class available in all Source games. It uses the VPhysics system to touch entities. To do: As opposed to what system for CBaseTrigger
, and to what effect?
Flags[edit | edit source]
- 2: NPCs may trigger.
- 4: Pushables may trigger.
- 8: Physics Objects may trigger.
- 16: Only player ally NPCs - NPCs must be player allies to trigger. Sets NPCs automatically.
- 32: Only clients in vehicles - Players must be in vehicles to trigger. Sets Clients automatically. (Not in .)
- 64: Everything (not including physics debris) may trigger.
- 1024: Physics debris may trigger. Debris objects are usually small and not solid to players.
- 2048: Only NPCs in vehicles - NPCs must be in a vehicle to trigger.
- 4096: Can move (through parenting)
Editors: Alien Swarm is able to detect players with the exact same flags used in HL2 because asw_marines actually are both player allies and npcs.
Keyvalues[edit | edit source]
- Filter Name
(filtername)
<filterclass>
- A filter entity to test potential activators against.
- Start Disabled
(StartDisabled)
<boolean>
- Stay inactive until Enabled.
Inputs[edit | edit source]
- Enable
- Makes the entity active.
- Disable
- Makes the entity inactive.
- Toggle
- If on, turn off. If off, turn on.