Material modify control

From Valve Developer Community
Revision as of 20:56, 27 September 2005 by Maven (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

An entity that can be used to directly control material vars. To use it, you need to read the .vmt of the material you intend to change. Parent this entity to a brush model entity whose material you want to control.

Keyvalues

Material to modify
  • materialVar <string>
Variable of the material to modify

Inputs

Fire to modify a material variable. The argument is the value to set the variable to.
  • SetMaterialVarToCurrentTime
This sets the material variable to the current time on the server.

Outputs