Dod location: Difference between revisions
		
		
		
		
		
		Jump to navigation
		Jump to search
		
				
		
		
	
| mNo edit summary | SirYodaJedi (talk | contribs)   (Actually, it shouldn't have that at all, since it's only in DoD) | ||
| Line 2: | Line 2: | ||
| [[File:Dod_location.png|thumb|250px|Example of the window after typing %l in the chat.]] | [[File:Dod_location.png|thumb|250px|Example of the window after typing %l in the chat.]] | ||
| {{CD|CDODLocation|base=CBaseEntity|file1=dod/dod_location.cpp}} | {{CD|CDODLocation|base=CBaseEntity|file1=dod/dod_location.cpp}} | ||
| {{this is a|point entity|<!--sprite=1-->|name=dod_location | {{this is a|point entity|<!--sprite=1-->|name=dod_location|game=Day of Defeat: Source}} | ||
| == Entity description == | == Entity description == | ||
Revision as of 07:09, 3 May 2025
|  Class hierarchy | 
|---|
| CDODLocation | 
|  dod/dod_location.cpp | 
dod_location  is a   point entity  available in  Day of Defeat: Source.
 Day of Defeat: Source.
Entity description
A way of naming a particular area within a map. If a player puts %l (lower case L) in their "say" text, the name of the closest location or dod_control_point will be put in its place.
Keyvalues
- Name (targetname) <string>[ Edit ]
- The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g. parentnameortarget).
 Also displayed in Hammer's 2D views and Entity Report.See also: Generic Keyvalues, Inputs and Outputs available to all entities
- Name of this location (location_name) <string>
- Name of the current location that appears ingame. Can be either a regular string or a reference to a localization string.
