Classname: Difference between revisions
Jump to navigation
Jump to search
TomEdwards (talk | contribs) (Created page with 'The '''classname''' of the entity is the type of object it is. npc_zombie, point_spotlight and func_tracktrain are all classnames of different entities. Programmers can link a C…') |
TomEdwards (talk | contribs) mNo edit summary |
||
Line 1: | Line 1: | ||
The '''classname''' of the entity is the type of object it is. npc_zombie, point_spotlight and func_tracktrain are all classnames of different entities. | The '''classname''' of the entity is the type of object it is. "npc_zombie", "point_spotlight" and "func_tracktrain" are all classnames of different entities. | ||
Programmers can link a C++ class to a Hammer classname with the <code>[[LINK_ENTITY_TO_CLASS()]]</code> macro. | Programmers can link a C++ class to a Hammer classname with the <code>[[LINK_ENTITY_TO_CLASS()]]</code> macro. | ||
[[Category:Glossary]] | [[Category:Glossary]] |
Revision as of 10:19, 22 July 2009
The classname of the entity is the type of object it is. "npc_zombie", "point_spotlight" and "func_tracktrain" are all classnames of different entities.
Programmers can link a C++ class to a Hammer classname with the LINK_ENTITY_TO_CLASS()
macro.