Func illusionary: Difference between revisions
Jump to navigation
Jump to search

Warning:In
, parenting this entity to another can break your map.
Note:This entity doesn't work inside func_instance, because it won't be rotated correctly.
mNo edit summary |
SirYodaJedi (talk | contribs) m (Add confirm about edicts) |
||
Line 4: | Line 4: | ||
{{warning|In {{css}}, [[Counter-Strike Source Entity Overview#Counter-Strike Round Restarts|parenting this entity to another can break your map]].}} | {{warning|In {{css}}, [[Counter-Strike Source Entity Overview#Counter-Strike Round Restarts|parenting this entity to another can break your map]].}} | ||
Originally added as a legacy entity from {{Gldsrc|4}} for backwards compatibility, Valve has also used it in Source games (such as {{hl2|2}} or {{csgo|2}}) as a non-solid brush. {{ent|func_brush}} with its <tt>Solidity</tt> property set to ''Never Solid'' will act the same, except it allows more options to be modified. This entity can be used for simplicity if less functionality is needed, as it is always non-solid.{{note|This entity doesn't work inside {{ent|func_instance}}, because it won't be rotated correctly.}} | Originally added as a legacy entity from {{Gldsrc|4}} for backwards compatibility, Valve has also used it in Source games (such as {{hl2|2}} or {{csgo|2}}) as a non-solid brush. {{ent|func_brush}} with its <tt>Solidity</tt> property set to ''Never Solid'' will act the same, except it allows more options to be modified. This entity can be used for simplicity if less functionality is needed, as it is always non-solid. | ||
{{note|This entity doesn't work inside {{ent|func_instance}}, because it won't be rotated correctly.}} | |||
{{modernConfirm|Does this entity count towards the number of [[edict]]s, like in {{goldsrc|2}}?}} | |||
== Keyvalues == | == Keyvalues == | ||
{{KV Targetname}} | {{KV Targetname}} |
Revision as of 09:40, 14 June 2023


![]() |
---|
CFuncIllusionary |
![]() |
Template:Entity It's a brush entity that has no collision.


Originally added as a legacy entity from GoldSrc for backwards compatibility, Valve has also used it in Source games (such as
Half-Life 2 or
Counter-Strike: Global Offensive) as a non-solid brush. func_brush with its Solidity property set to Never Solid will act the same, except it allows more options to be modified. This entity can be used for simplicity if less functionality is needed, as it is always non-solid.

Keyvalues
- Name (targetname) <string>[ Edit ]
- The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g.
parentname
ortarget
).
Also displayed in Hammer's 2D views and Entity Report.See also: Generic Keyvalues, Inputs and Outputs available to all entities