Dod location: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
 
Line 5: Line 5:


== Entity description ==
== Entity description ==
A way of naming a particular area within a map. If a player puts {{code|%l}} (lower case L) in their "say" text, the name of the closest location or dod_control_point will be put in its place.
A way of naming a particular area within a map. If a player puts {{code|%l}} (lower case L) in their "say" text, the name of the closest {{mono|dod_location}} or {{ent|dod_control_point}} will be put in its place.


== Keyvalues ==
== Keyvalues ==
{{KV Targetname}}
{{KV Targetname}}
{{KV|Name of this location|intn=location_name|string|Name of the current location that appears ingame. Can be either a regular string or a reference to a localization string. Max 63 characters.}}
{{KV|Name of this location|intn=location_name|string|Name of the current location that appears ingame. Can be either a regular string or a reference to a localization string. Max 63 characters.}}

Latest revision as of 12:40, 8 May 2025

Example of the window after typing %l in the chat.
C++ Class hierarchy
CDODLocation
CBaseEntity
C++ 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 dod_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. parentname or target).
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. Max 63 characters.