From Valve Developer Community
Revision as of 12:50, 6 February 2012 by Dmx6 (talk | contribs) (cleanup)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

<Day of Defeat: Source> dod_bomb_dispenser is a brush entity available in Day of Defeat: Source.

Entity description

This entity is a solid which is tied to an entity. It is generally in marked out in game by a bomb stack model. It will give the specified team a bomb in a detonation type map.



Name (targetname) <string>
The targetname that other entities refer to this entity by.
Entity Scripts (vscripts) <scriptlist> (in all games since <Left 4 Dead 2>)
Space delimited list of VScript files (without file extension) that are executed after all entities have spawned. The scripts are all executed in the same script scope, later ones overwriting any identical variables and functions.
Script think function (thinkfunction) <string> (in all games since <Left 4 Dead 2>)
Name of a function in this entity's script which will be called automatically every 100 milliseconds (ten times a second) for the duration of the script. It can be used to create timers or to simulate autonomous behavior. The return value (if present) will set the time until the next call.
Note.png Note: Try to avoid expensive operations in this function, as it may cause performance problems.


Start Disabled (StartDisabled) <boolean>
Stay dormant until activated (with theEnableinput).

Team to give Bomb to <choices>
The team that will be placing a bomb at this point.
Value Description
1 Both Teams
2 U.S. Army Only
3 Wehrmacht Only



Enable/disable this entity from performing its task. It might also disappear from view.


Sent when a player pick up TNT
Note.png Note: May not work

See also