trigger_portal_cleanser
Jump to navigation
Jump to search
Code classes:
CTriggerPortalCleanser
CBaseTrigger
(triggers)CBaseToggle
CBaseEntity
(all ents)
trigger_portal_cleanser
is a brush entity present in both Portal games. It makes up the functional portion of a fizzler. Sometimes, this entity is also put over large areas of a map to erase portals arbitrarily. Entities must inherit CBaseAnimating
to be fizzled.
Bug: The player's T-posed corpse is visibly dissolved when dying inside this entity.
Bug: Portal shot blocking is based on the entity's bounding box, causing diagonal or concave cleansers to block portal shots in cases where they seemingly shouldn't. Portal and object fizzling works as expected.
Keyvalues[edit | edit source]
- Visible
(Visible)
<boolean>
(only available in ) - Sets if the fizzler is visible and audible.
- Use Scanline
(UseScanline)
<boolean>
(only available in ) - Sets if the fizzler uses a scanline. (Small line that periodically goes down the fizzler.) Only works correctly on vertical, axis-aligned fizzlers.
Inputs[edit | edit source]
Outputs[edit | edit source]
- OnDissolve
- Fires when an entity is dissolved.
- OnFizzle
- Fires when any number of portals were erased at once. The portal(s) must have a pair ID matching the ID of a
weapon_portalgun
held by a player who passed into the trigger in order to be erased. Also stops portal shots currently traveling in the air. - OnDissolveBox
- Fires when an entity named
box
is fizzled.