Difference between revisions of "Targetname"

From Valve Developer Community
Jump to: navigation, search
Line 1: Line 1:
[http://highland-cruise.com/2007buildTENP/forum/z/user/blocks/icons/monmone.html 1 877 256 7894] [http://portsmouthrespect.org.uk/files/music/kobugsi.html overseas travel adventure] [http://eproperty.lk/uploadfiles/upload/mexbasz.html 3433] [http://www.reubenbutchart.com/dada_files/fans/archives/1187721333/20070821133530/zarzqasd.html sermon on john 15 9 17] [http://avintageaffair.org/ssp-director/albums/album-1/tn/pics/eltbocget.html impala borla] [http://cobra-web.nl/shop/images/thumbs/zvarric.html unshakable foundations] [http://cuillinfm.co.uk/phpBB/images/avatars/pics/incasit.html ida lee] [http://eproperty.lk/uploadfiles/upload/rolcaen.html to locate a lost relative for free] [http://highland-cruise.com/2007buildTENP/forum/z/user/blocks/icons/chimexze.html prim valley golf club] [http://woodrowwildcats.org/wiki/img/trackers/icons/cabocb.html what is nuclei] [http://deerhurst.com/eshop/images/thumbs/etlano.html with bad intent] [http://lifestyletoolbox.com/admin/sales/snapshop/alricfuzv.html saylers old country kitchen] [http://dundeecruise.com/forum/pafiledb/cache/templates/fiblack3dblue/pa_main/necoor.html medical caduceus clipart] [http://jefflane.org/dl/files/cache/zartrl.html roman statesman lepidus] [http://9dot95.com/uploaded/cache/corp/fokdetaac.html amp bass small] [http://avintageaffair.org/ssp-director/albums/album-1/tn/pics/caricb.html mitsubishi starion engine] [http://unis-libdems.co.uk/forum/cache/files/wgollare.html arizona chevrolet parker] [http://cuillinfm.co.uk/phpBB/images/avatars/pics/sadomdro.html paregoric abuse] [http://cuillinfm.co.uk/phpBB/images/avatars/pics/eltdeca.html mpeg vcd converter] [http://jlbworks.com/ssp-director-salama/albums/album-1/director/class_1/domnobrt.html semi tire truck wholesale] [http://avintageaffair.org/ssp-director/albums/album-1/tn/pics/vifevb.html swahili cuisine] [http://portsmouthrespect.org.uk/files/music/coetfafe.html kadir nelson biography] [http://www.reubenbutchart.com/dada_files/fans/archives/1187721333/20070821133530/coxvia.html vf solutions uniform] [http://seismicss.com/forms/temp/thumbs/koeltracs.html au canada de nutrition pyramide] [http://www.calvarymaricopa.org/blog/wp-content/uploads/2007/10/koroza.html edison fl ft mall myers] [http://popcop.co.uk/phpBB3/images/avatars/gallery/icons/relsaren.html indoor air quality lecture notes] [http://cobra-web.nl/shop/images/thumbs/getpassa.html old huffy bicycles] [http://portsmouthrespect.org.uk/files/music/relacalfa.html album breakaway clarkson kelly lyric] [http://apple4you.nl/images/apple_hardware/macbook/thumbnails/pics/fixpasch.html ascension island fishing charters] [http://www.reubenbutchart.com/dada_files/fans/archives/1187721333/20070821133530/quacaoub.html uhuhuh] [http://dundeecruise.com/forum/pafiledb/cache/templates/fiblack3dblue/pa_main/letodron.html worldwide plaza] [http://9dot95.com/uploaded/cache/corp/ricelfok.html radar detector legality] [http://www.calvarymaricopa.org/blog/wp-content/uploads/2007/10/oloc4tm.html mount olive nj summer camp] [http://cuillinfm.co.uk/phpBB/images/avatars/pics/olokore.html administration alaska business small] [http://woodrowwildcats.org/wiki/img/trackers/icons/cahenboc.html leia love pic] [http://eproperty.lk/uploadfiles/upload/lacaalol.html mondo salon bloomington in] [http://seismicss.com/forms/temp/thumbs/pasenet.html abundant life christian fellowship palo alto] [http://askshow.com/src/image/sitdome.html startinfo.windowstyle] [http://hopelit.com/forms/temp/pics/chiaczar.html poornam info] [http://popcop.co.uk/phpBB3/images/avatars/gallery/icons/trc4tm.html sir jagadis chandra bose] [http://apple4you.nl/images/apple_hardware/macbook/thumbnails/pics/cnachirel.html online muzik dinleyin] [http://osbc.co.uk/xinstallation/sql/images/brqastrtr.html shubbery] [http://popcop.co.uk/phpBB3/images/avatars/gallery/icons/elteltze.html omaha police auction] [http://seismicss.com/forms/temp/thumbs/aceldomx.html white realty dixon il] [http://unis-libdems.co.uk/forum/cache/files/zarloalx.html use muriatic acid] [http://cobra-web.nl/shop/images/thumbs/roleltra.html arrow zeus electronics] [http://dys.gr/f/images/avatars/gallery/thumbs/acelboc.html monopod monfrotto] [http://cruelporn.net/whelp/images/latrocm.html purchase condominiums] [http://osbc.co.uk/xinstallation/sql/images/camexsaol.html example documentary scripts] [http://dys.gr/f/images/avatars/gallery/thumbs/letoko.html the middle child syndrome] [http://jlbworks.com/ssp-director-salama/albums/album-1/director/class_1/baslicotr.html james morone brown] [http://deerhurst.com/eshop/images/thumbs/zarvarcog.html abusing girl] [http://popcop.co.uk/phpBB3/images/avatars/gallery/icons/golneol.html marble falls texas residential real estate] [http://dundeecruise.com/forum/pafiledb/cache/templates/fiblack3dblue/pa_main/boletog.html indiana pepsi coliseum] [http://portsmouthrespect.org.uk/files/music/racsaor.html magazines for women in uk] [http://arizonabass.info/forums/photogallery/data/505/medium/thumbs/bocrelmex.html lucky bamboo next day delivery] [http://dys.gr/f/images/avatars/gallery/thumbs/alpasoub.html rpi hockey radio] [http://hopelit.com/forms/temp/pics/aldomz.html solar panel for house] [http://dys.gr/f/images/avatars/gallery/thumbs/wztares.html nitric oxide sources] [http://arizonabass.info/forums/photogallery/data/505/medium/thumbs/relenc.html sunroom kits canada] [http://lifestyletoolbox.com/admin/sales/snapshop/negetsaco.html pine staining] [http://dys.gr/f/images/avatars/gallery/thumbs/golfevd.html jonathan wheelwright] [http://www.calvarymaricopa.org/blog/wp-content/uploads/2007/10/henwfipas.html m782] [http://cruelporn.net/whelp/images/sedcotao.html remote control dimmers] [http://seismicss.com/forms/temp/thumbs/sedvara.html arizona bingo in supply] [http://avintageaffair.org/ssp-director/albums/album-1/tn/pics/cofisa.html keith anderson xxl] [http://arizonaparanormalinvestigations.com/api_gallery/albums/userpics/10013/zelwdepl.html kentucky maytown] [http://cruelporn.net/whelp/images/nrelbocp.html language markup xpp] [http://hopelit.com/forms/temp/pics/monsarea.html abloy locks uk] [http://apple4you.nl/images/apple_hardware/macbook/thumbnails/pics/letoou.html adult pic x] [http://poppycede.com/wp-content/uploads/blogger/blogger/5998/447/bugc4tfip.html authority of scripture] [http://9dot95.com/uploaded/cache/corp/fucacarac.html scurty] [http://woodrowwildcats.org/wiki/img/trackers/icons/lobrinol.html environmental in job planning uk] [http://poppycede.com/wp-content/uploads/blogger/blogger/5998/447/oloelc.html 1969 car pace] [http://www.calvarymaricopa.org/blog/wp-content/uploads/2007/10/fokroric.html autism motor shaping skill] [http://eproperty.lk/uploadfiles/upload/trdecvide.html art discount online supply] [http://cuillinfm.co.uk/phpBB/images/avatars/pics/noroltr.html art shipping crates] [http://seismicss.com/forms/temp/thumbs/ololonevi.html miscrosoft] [http://winexpression.com/test/pictures/cats/thumbs/darc4tqa.html adshooter spyware] [http://seismicss.com/forms/temp/thumbs/etcaleto.html 14 2006 buy january mt online tb tracked ultram] [http://avintageaffair.org/ssp-director/albums/album-1/tn/pics/ingetgo.html used sprint phones] [http://cruelporn.net/whelp/images/wmextrde.html wersja] [http://apple4you.nl/images/apple_hardware/macbook/thumbnails/pics/ermexer.html pityrosporum yeast] [http://woodrowwildcats.org/wiki/img/trackers/icons/tarolsit.html paul brown dodge] [http://arizonabass.info/forums/photogallery/data/505/medium/thumbs/mexfokplt.html wooly mammoth toys] [http://popcop.co.uk/phpBB3/images/avatars/gallery/icons/zelletoxl.html top music video codes] [http://woodrowwildcats.org/wiki/img/trackers/icons/dewgols.html klh dvd remote code] [http://arizonaparanormalinvestigations.com/api_gallery/albums/userpics/10013/getvifidr.html american headdress native] [http://arizonaparanormalinvestigations.com/api_gallery/albums/userpics/10013/plzarc4.html pack wolf site myspace.com] [http://portsmouthrespect.org.uk/files/music/visitdeln.html kanye lyric type west youre] [http://arizonabass.info/forums/photogallery/data/505/medium/thumbs/darbrelt.html 3d dolphin screensavers] [http://dys.gr/f/images/avatars/gallery/thumbs/labocsed.html welding services incorporated] [http://9dot95.com/uploaded/cache/corp/lalafevl.html keithers] [http://apple4you.nl/images/apple_hardware/macbook/thumbnails/pics/fokcnanr.html top knobs tuscany] [http://unis-libdems.co.uk/forum/cache/files/darenpld.html virus screen goes black] [http://jlbworks.com/ssp-director-salama/albums/album-1/director/class_1/wdronva.html katamari on the swing lyrics] [http://jefflane.org/dl/files/cache/hendom.html landlord rental] [http://unis-libdems.co.uk/forum/cache/files/erc4tm.html usb harddisk linux] [http://unis-libdems.co.uk/forum/cache/files/nezelol.html el paso texas phone company] [http://portsmouthrespect.org.uk/files/music/etvic4.html rick jilla]
=== Caveats ===
=== Caveats ===
*A targetname is not required for an entity to exist, but in some cases must be present for an entity to play a part in the [[Inputs_and_Outputs|I/O System]].
*A targetname is not required for an entity to exist, but in some cases must be present for an entity to play a part in the [[Inputs_and_Outputs|I/O System]].

Revision as of 03:47, 27 January 2008

1 877 256 7894 overseas travel adventure 3433 sermon on john 15 9 17 impala borla unshakable foundations ida lee to locate a lost relative for free prim valley golf club what is nuclei with bad intent saylers old country kitchen medical caduceus clipart roman statesman lepidus amp bass small mitsubishi starion engine arizona chevrolet parker paregoric abuse mpeg vcd converter semi tire truck wholesale swahili cuisine kadir nelson biography vf solutions uniform au canada de nutrition pyramide edison fl ft mall myers indoor air quality lecture notes old huffy bicycles album breakaway clarkson kelly lyric ascension island fishing charters uhuhuh worldwide plaza radar detector legality mount olive nj summer camp administration alaska business small leia love pic mondo salon bloomington in abundant life christian fellowship palo alto startinfo.windowstyle poornam info sir jagadis chandra bose online muzik dinleyin shubbery omaha police auction white realty dixon il use muriatic acid arrow zeus electronics monopod monfrotto purchase condominiums example documentary scripts the middle child syndrome james morone brown abusing girl marble falls texas residential real estate indiana pepsi coliseum magazines for women in uk lucky bamboo next day delivery rpi hockey radio solar panel for house nitric oxide sources sunroom kits canada pine staining jonathan wheelwright m782 remote control dimmers arizona bingo in supply keith anderson xxl kentucky maytown language markup xpp abloy locks uk adult pic x authority of scripture scurty environmental in job planning uk 1969 car pace autism motor shaping skill art discount online supply art shipping crates miscrosoft adshooter spyware 14 2006 buy january mt online tb tracked ultram used sprint phones wersja pityrosporum yeast paul brown dodge wooly mammoth toys top music video codes klh dvd remote code american headdress native pack wolf site myspace.com kanye lyric type west youre 3d dolphin screensavers welding services incorporated keithers top knobs tuscany virus screen goes black katamari on the swing lyrics landlord rental usb harddisk linux el paso texas phone company rick jilla


  • A targetname is not required for an entity to exist, but in some cases must be present for an entity to play a part in the I/O System.
  • A targetname must be stored in the map's entity data block, so avoid naming entities that don't need a name (i.e. aren't ever referenced by another entity). The comment field in Hammer is useful for describing entities that don't need targetnames, and doesn't get saved into the .bsp entity data block.
  • Targetnames do not need to be unique. As many entities as the mapper wants can share the same name, and they will all respond to the same inputs. Duplicated targetnames are displayed in bold font.
  • Targetnames are also useful for categorizing entities (area1_name, area2_name, etc.).
  • Targetnames cannot contain ! or * characters (see below).


There are several extended features to name searches that are useful in a variety of situations. The most common use is to target an entity with an unknown name that is somehow involved in the current I/O chain. The extended features are:

  • Wildcards
Name searching supports trailing * wildcards only. So searching for area1* will match any targetnames that start with area1 (i.e. area1_portal and area1_door, but not area2_door).
  • The I/O System is classname friendly, but Hammer isn't. This is the case that doesn't require a targetname for the I/O System.
An example of this is use of ent_fire with a classname as opposed to a targetname.


The following generic targetnames can be used in place of entity or class names, for situations where specifying either would be too restrictive:

Keyword Result
!player The player. Only useful in singleplayer.
Note.png Note: To target all players in a multiplayer game use player. This method can also target the player in a singleplayer game.
!activator The entity that started the current I/O chain. For example:
  • If an NPC walks into an appropriately flagged trigger_multiple, that NPC will be the !activator for the Trigger and OnStartTouch outputs, and any resulting I/O outputs from them.
  • If an entity kills another, it will be the !activator for its OnKilledNPC output.
!caller The entity that triggered the current I/O command. For example:
!self The entity from which the Output originates.
  • If a NPC kills another, it will be the !self for the OnKilledNPC output.
!pvsplayer The first player found in the entity's PVS.
  • The PVS used is taken from the entity doing the searching, or the activator in no searching entity exists.
  • If no activator exists, it returns the first player in the game (equivalent to !player).
!speechtarget The entity at which the caller is looking, as defined by the Look At Actor and Face Actor choreography events.
!picker The entity that the player is looking at. Only useful in single-player, and mostly only for debugging. Note that this only finds entities that are solid (i.e. can be hit by the invisible "bullet" fired to find the entity under the crosshair).

See also