IO type ehandle
Jump to navigation
Jump to search
Note:If string is passed to an input taking ehandle parameter it's converted to ehandle by simply searching for the first entity with such name it finds. (see IO type conversions#Conversion from string)

This is a draft page. It is a work in progress open to editing by anyone.
Remember to check for any notes left by the tagger at this article's talk page.
Remember to check for any notes left by the tagger at this article's talk page.
Ehandle represents one particular entity in the map. Benefit of ehandle IO is that an output of type ehandle can give an input of type ehandle the entity directly without the entity having to have a targetname. (other inputs can still achieve that by utilizing activator/caller and special targetnames)

Wiki Note:ehandle type is shown on entity pages as
<targetname*>
(notice *
symbol)Outputs of type ehandle
Inputs that can take it
- See entities that have an input of type ehandle - Only the
Target
input of env_projectedtexture is defined this way. - See entities that have an input of type string - string inputs will get the targetname of the entity represented by the ehandle.