Use (GoldSrc)

From Valve Developer Community
Jump to navigation Jump to search

Stub

This article or section is a stub. You can help by expanding it.

Icon-under construction-blue.png
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.
Broom icon.png
This article or section needs to be cleaned up to conform to a higher standard of quality.
For help, see the VDC Editing Help and Wikipedia cleanup process. Also, remember to check for any notes left by the tagger at this article's talk page.

The main way entities in GoldSrc communicate. When one entity utilizes the target keyvalue to target some other entity (for example trigger_once targetting env_sprite to turn it on/off) it calls the targetted entity's Use function. Analogous to sending Use input in source. Unlike Source, trigger_relay can explicitly set a USE_TYPE.

Players can also use entities.

See also