User Inputs and Outputs: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(acaccoco)
(why addoutput?)
 
(41 intermediate revisions by 23 users not shown)
Line 1: Line 1:
[http://civet.ddns.ms/description/sunbeam-tiger-autos.html sunbeam tiger autos for sale] [http://fingre.freeddns.com/html/notting-hill.html notting hill movie] [http://toilet-trailers.mioforum.com/ toilet trailers] [http://jovem.zyns.com/topic/consonants-software.html consonants software] [http://sonnet.fadlan.com/tattoos-drawings.html tattoos drawings of crosses] [http://biter.4dq.com/description/long-lost-brothers.html long lost brothers] [http://chaud.my03.com/wokking.html wokking] [http://biter.4dq.com/description/vagina-and-a-penis.html penis vagina together] [http://jovem.zyns.com/topic/rx-goggles-motorcycle.html goggles motorcycle rx] [http://absey.zyns.com/torbugesic-dog.html torbugesic dog] [http://bouts.4dq.com/raj-j-one-wish.html raj j one wish] [http://hearts.ddns.us/blog/sneaky.html sneaky pete] [http://bouts.4dq.com/alltel-message-board.html alltel message board] [http://notify.ddns.us/new/epiphone-uke.html epiphone uke] [http://oprah-winfreys.voodoo-ref.com/ oprah winfreys magazines] [http://sonnet.fadlan.com/jordans-imax.html jordans imax theatre reading ma] [http://whate.freeddns.com/pages/raybestos-rookie.html raybestos rookie of the year rusty wallace] [http://d12-fight-music.mioforum.com/ d12 fight music] [http://diseas.4mydomain.com/q/hot-diamonds.html hot diamonds] [http://bettre.got-game.org/directory/free-dj-programs.html dj download free program] [http://cabock.fadlan.com/styles/carpet-tile.html carpet tile] [http://bowing.ddns.ms/tapestry-fabrics.html tapestry fabrics upholstery] [http://tradeshow-tabletop.uni-nail.com/ tradeshow tabletop displays] [http://device.ddns.ms/description/ricky-gervais.html ricky gervais] [http://spital.ddns.us/q/gang-bang-wife.html gang bang wife] [http://new-york-haircut.mioforum.com/ new york haircut] [http://chaud.my03.com/mopar-rebuilt-carburetors.html mopar rebuilt carburetors] [http://taurus.fadlan.com/data/kurzeil.html kurzeil] [http://trunk.got-game.org/blog/peach-fuzz-teen.html peach fuzz teen girls] [http://devil.4mydomain.com/articles/music-audiology.html music audiology] [http://pvc-label.sugaryblog.com/ pvc label] [http://duron-paint.sugaryblog.com/ duron paint] [http://whate.freeddns.com/pages/sailing-schools.html high school sailing] [http://olkneen.fadlan.com/laugh-the-loudest.html laugh the loudest] [http://bitten.zyns.com/master-feeder-fund.html master feeder fund definition] [http://trunk.got-game.org/blog/texas-cerebral.html texas cerebral palsy lawyers] [http://rolls.zyns.com/chicago.html chicago] [http://devil.4mydomain.com/sitemap.html map] [http://best-top.mioforum.com/ best top] [http://coyote-animal.sugaryblog.com/ animal baby coyote] [http://image-search-engine.uni-nail.com/ engine image popular search search] [http://whate.freeddns.com/pages/ideal-gas-low.html ideal gas low pressure] [http://bouts.4dq.com/opera-in-london.html phantom of the opera london] [http://biter.4dq.com/description/all-right-now.html all right now] [http://fathom.fadlan.com/view/wwwcitibankcom.html www.citibank.com] [http://diseas.4mydomain.com/q/debt-negotiation.html debt negotiation services] [http://widow.fadlan.com/small/teen-porn-password.html teen porn password] [http://taste.ftpserver.biz/web/mexican-donkey.html mexican donkey show] [http://minos.mooo.com/text/raised-bed-gardening.html bed fl gardening in jacksonville raised] [http://autumn.freeddns.com/magnacharger.html magnacharger mustang] [http://old-hairy-cunt.uni-nail.com/ cunt hairy old] [http://spital.ddns.us/q/ge-appliances.html ge appliances] [http://short-term-payday.mioforum.com/ short term payday loans] [http://fingre.freeddns.com/html/sex-stroker.html sex stroker] [http://bitten.zyns.com/sitemap.html links] [http://bouts.4dq.com/spread-wide.html wide spread pussy] [http://brisk.zyns.com/wiki/tounges-of-fire.html tounges of fire] [http://necks.mooo.com/text/phone-lookup.html phone lookup] [http://cheap-hotels-in.uni-nail.com/ cheap hotels in new york] [http://widow.fadlan.com/small/marine-roll-royce.html marine roll royce] [http://civet.ddns.ms/description/land-contract.html contract land michigan] [http://peruse.zyns.com/comments/sex-dvd.html dvd sex xxx] [http://otter.got-game.org/sativa-rose.html hand job rose sativa] [http://fathom.fadlan.com/view/jersey-new-ombudsman.html jersey new ombudsman] [http://sponge.zyns.com/sitemap.html website] [http://breach.my03.com/resources/alamo-james-louis.html alamo james louis frazer artist sculptor] [http://devil.4mydomain.com/articles/john-license.html john license suspended weir] [http://widow.fadlan.com/small/party-favor-hawaii.html party favor hawaii] [http://absey.zyns.com/interior-design.html interior design services] [http://trunk.got-game.org/blog/chemical-packaging.html chemical packaging malaysia] [http://trunk.got-game.org/blog/i-m-on-the-outside.html i m on the outside i m lookin in] [http://henna-tattoo-design.mioforum.com/ henna tattoo design] [http://comic.ddns.ms/small/pets-for-sale.html pets for sale] [http://nimble.4mydomain.com/data/scarlet-ibis.html scarlet ibis] [http://desist.ddns.us/directory/petite-catolog.html petite catolog] [http://bottle.4dq.com/pages/recursive-total.html recursive total least squares] [http://fingre.freeddns.com/html/eastwoodcom.html eastwood.com] [http://bitten.zyns.com/sitemap.html web] [http://spital.ddns.us/q/free-video-porno.html free video porno] [http://bottle.4dq.com/pages/lexus-is330.html lexus is330] [http://promotional-umbrellas.mioforum.com/ promotional umbrella] [http://surse.justdied.com/content/dog-food-ratings.html dog food ratings] [http://autumn.freeddns.com/computer-workstation.html computer workstation armoire] [http://rased.ddns.ms/new/computer-hijack.html computer hijack] [http://necks.mooo.com/text/seiko.html seiko watch] [http://troien.zyns.com/description/patrick-starfish.html patrick starfish] [http://bowing.ddns.ms/eye-lift-canada.html eye lift canada] [http://defuse.got-game.org/q/cell-phone-providers.html cell comparison phone provider] [http://penned.4dq.com/content/wireless-age.html wireless age communications] [http://home-theater.mioforum.com/ home theater speaker] [http://chaud.my03.com/weezer-mp3.html weezer mp3] [http://bettre.got-game.org/directory/antique-reproduction.html antique reproduction hardware] [http://fathom.fadlan.com/view/salvage-cars.html salvage car for sale] [http://gekrauss.fadlan.com/article/wholesale-incense.html incense oil wholesale] [http://breach.my03.com/resources/queensland.html queensland heeler] [http://magic-card-tricks.mioforum.com/ magic card tricks] [http://brisk.zyns.com/wiki/cold-hard-nipples.html cold hard nipples] [http://surse.justdied.com/content/black-girls.html big black girl anal] [http://diseas.4mydomain.com/q/diet-shakes.html healthy diet shake] [http://linens.4mydomain.com/resources/alberta-learning.html alberta learning] [http://desist.ddns.us/directory/nudist.html nudist female picture] [http://desist.ddns.us/directory/iron-bed.html free judge judy nude pic] [http://liest.zyns.com/new/pink-lemonade.html pink lemonade cake] [http://device.ddns.ms/description/sing-a-long-a.html sing a long a sound of music london] [http://necks.mooo.com/text/child-halloween.html child costume halloween] [http://we-are-18.sugaryblog.com/ we are 18] [http://nessus.mooo.com/view/tnp.html igpg.ob nxy nxy.to tnp u.to] [http://trunk.got-game.org/blog/pennsylvania-skiing.html pennsylvania skiing] [http://empery.ddns.ms/sitemap.html page] [http://no-address.sugaryblog.com/ address cd doesnt no notice time] [http://ethiop.got-game.org/us-online-dating.html us online dating] [http://bedrid.4mydomain.com/cruchfield.html cruchfield] [http://percy.mooo.com/new/moisturizing-lotion.html moisturizing lotion] [http://nimble.4mydomain.com/sitemap.html url] [http://linens.4mydomain.com/resources/bexar-county-texas.html bexar county, texas] [http://desist.ddns.us/directory/acura-rdx.html acura rdx] [http://device.ddns.ms/description/my-first-time.html my first time] [http://hear.zyns.com/html/simple-plan-id.html simple plan id do anything] [http://necks.mooo.com/text/realty-sedona.html realty sedona] [http://aps-billet-accessories.voodoo-ref.com/ aps billet accessories] [http://refuge.ddns.ms/lib/levaquin.html 500 levaquin mg] [http://pasty.zyns.com/wiki/prada-replica-handbag.html prada replica handbag] [http://device.ddns.ms/description/elvish-font.html elvish font] [http://saving.ddns.ms/resources/direct-merchants.html direct merchant bank card] [http://how-to-give-yourself.uni-nail.com/ how to give yourself pleasure] [http://beyonce-having.voodoo-ref.com/ beyonce and jay z having sex] [http://widow.fadlan.com/small/mia-farrow.html farrow mia] [http://device.ddns.ms/description/rcslt-uk.html rcslt uk] [http://comic.ddns.ms/small/packaged-bliss.html packaged bliss] [http://brisk.zyns.com/wiki/roland.html keyboard roland] [http://ethiop.got-game.org/copulation.html kdz copulation] [http://sonnet.fadlan.com/sensual-stories.html sensual erotic story] [http://diseas.4mydomain.com/q/rockers.html glider rocker] [http://liest.zyns.com/new/bullet-bra.html bra bullet] [http://rooky.ikwb.com/topic/noticias-el.html noticias el salvador.com] [http://bottle.4dq.com/pages/72-torino.html 72 ford torino] [http://defuse.got-game.org/q/coffeebreakarcade.html coffeebreakarcade] [http://breach.my03.com/resources/aol-high-speed.html aol high speed connection] [http://juniper-oil.voodoo-ref.com/ juniper oil] [http://whate.freeddns.com/pages/dollar-bills.html two dollar bill] [http://juice-pussies.voodoo-ref.com/ juice pussies] [http://freckl.freeddns.com/apparel-courses.html apparel courses] [http://revolt.fadlan.com/pages/philadelphia-eagle.html philadelphia eagle jersey] [http://breach.my03.com/resources/henna-design.html indian henna design] [http://taurus.fadlan.com/data/map-of-key-west.html map of key west florida] [http://absey.zyns.com/school-members.html school members (at)yahoo.co.uk nina] [http://bouts.4dq.com/arizona-hotel-palm.html arizona hotel palm tempe twin] [http://prodigy-youll-be.mioforum.com/ prodigy youll be under my wheels] [http://snatch.ddns.us/data/free-long-video.html free long video sample] [http://aint-it-its.mioforum.com/ aint it its kravitz lenny lyric over over till] [http://bitten.zyns.com/wireless-modem.html wireless modem setup] [http://ethiop.got-game.org/optometrists-manhattan.html optometrists manhattan] [http://bundle.fadlan.com/comments/clawson-document.html clawson document storage] [http://whate.freeddns.com/pages/stanley-lake-high.html stanley lake high school co] [http://breach.my03.com/resources/go-west.html go west] [http://chaud.my03.com/jukebox-cabinets.html jukebox cabinets] [http://gekrauss.fadlan.com/article/hammer-time.html mc hammer time] [http://minos.mooo.com/text/sharks-and-minnows.html sharks and minnows] [http://bouts.4dq.com/video-driver.html download driver video] [http://freckl.freeddns.com/rate-your-rack.html rack rate] [http://bouts.4dq.com/free-lolita.html free lolita art galleries] [http://nimble.4mydomain.com/data/leaders.html leaders] [http://percy.mooo.com/new/yngwie.html yngwie] [http://jovem.zyns.com/topic/nude-soccer-mom.html nude soccer mom] [http://diseas.4mydomain.com/q/evill.html chili evill] [http://penned.4dq.com/content/gala.html gala dinner] [http://device.ddns.ms/description/email-free-from.html email free from psychic reading] [http://trunk.got-game.org/blog/princess-cruise.html application free make tip up] [http://muffl.ddns.ms/data/low-carb-friendscom.html low carb friends.com] [http://rooky.ikwb.com/topic/san-diego-carpet.html san diego carpet cleaning companies] [http://daddies-sons.uni-nail.com/ daddies sons] [http://hearts.ddns.us/blog/guys-locker-room.html guys locker room] [http://linens.4mydomain.com/resources/straw-hat.html straw hat] [http://tout-ce.sugaryblog.com/ tout ce] [http://diseas.4mydomain.com/q/royal-mail-post.html royal mail post code enquiries] [http://refuge.ddns.ms/lib/books.html books] [http://sonnet.fadlan.com/latino-gay-porn.html free gay latino porn] [http://mod-bee.sugaryblog.com/ mod bee] [http://bundle.fadlan.com/comments/the-cold-within.html the cold within by james patrick kinney] [http://kari-sweet.mioforum.com/ kari sweet] [http://trunk.got-game.org/blog/other-messiah.html other messiah] [http://taurus.fadlan.com/data/waste-veg-oil.html waste veg oil] [http://snatch.ddns.us/data/houston-wedding.html houston wedding photo] [http://devil.4mydomain.com/articles/list-of-mythical.html list of mythical figures] [http://bundle.fadlan.com/comments/jim-walters-homes.html home jim plan walters] [http://bender.got-game.org/javascript-scrolling.html javascript scrolling messages] [http://belly.zyns.com/customs-canada.html canada customs passport] [http://taste.ftpserver.biz/web/how-to-weld.html real tuesday weld] [http://empery.ddns.ms/data/chanel-glasses.html chanel glasses] [http://south-carolina.mioforum.com/ south carolina state university] [http://bundle.fadlan.com/comments/punching.html gut punching] [http://sean-faris.uni-nail.com/ sean faris] [http://dagger.mooo.com/directory/nero-mp3-plugin.html mp3 nero plugin] [http://freckl.freeddns.com/maryland-automotive.html maryland automotive windshield] [http://sonnet.fadlan.com/brazil-people.html arts brazil people] [http://gekrauss.fadlan.com/article/public-address.html public address system manufacturer] [http://rased.ddns.ms/new/antivirus-avast.html antivirus avast] [http://device.ddns.ms/description/camelia.html camelia oil] [http://muffl.ddns.ms/data/injunction-against.html injunction against harassment] [http://revolt.fadlan.com/pages/knock-three-times.html knock three times]
{{LanguageBar}}
The '''FireUser1-4''' inputs and '''OnUser1-4''' outputs are available on every entity that can receive [[Inputs and Outputs]]. This set of controls are specially linked to work together. Although they are not used very commonly, User inputs and outputs can be very powerful and make certain tasks far easier to accomplish.
The '''FireUser1-4''' inputs and '''OnUser1-4''' outputs are available on every entity that can receive [[Inputs_and_Outputs|Inputs and Outputs]].<br>
This set of controls are specially linked to work together. Entities receiving the "FireUserN" input will fire its corresponding "OnUserN" output.<br>
Essentially, "FireUserN" and "OnUserN" are exactly the same as "Trigger" and "OnTrigger" that a [[logic_relay]] has. Except that you have four of them at once, in every single entity, and they work independent and unrelated to each other.<br>
Valve usually uses this to have one entity trigger the same output to multiple entities, while achieving different outcomes every time because each target tells itself what to do.<br>
One could also use it to avoid using logic_relay when the target should be triggered by multiple entities at different times. As each triggering entity directly tells the target to trigger itself.


The '''FireUser''N''''' input simply causes the corresponding '''OnUser''N''''' output on the same entity to fire. These are useful for forwarding messages through an entity where the desired target is known to the forwarding entity, but not to the firing entity.
{{Note|These outputs will fire even on a disabled entity.}}
{{Warning|Using FireUserX via an output that automatically sends a parameter (math_counter's OnGetValue for example) can cause an error and won't fire it properly. That is because FireUserX was coded (possibly by mistake) to accept a string parameter, but the parameter sent by the math_counter is a number. Make sure to specify dummy parameter in such cases.}}


For example, say you have three trains moving along the same set of [[path_track]]s. Each train has a glowing [[env_sprite]] parented to it, and on one path_track you want to turn off the sprite on whatever train has just passed. The problem is that the path_track doesn't know which train has just passed, so you can't connect the "OnPass" output to the right one. So, you solve this by connecting the path_track's "OnPass" output to the <code>[[!activator]]</code> (the train) '''FireUser1''' input, and then connect each train's '''OnUser1''' input to turn off their parented sprite.
==Example - Quicker Workflow==
The map [[d2_coast_08]] contains a [[logic_auto]] that fires the "FireUser1" output to three [[npc_seagull]] entities named "Seagull". Those then trigger themselves to fly to a unique destination, at different times.


In the past, you could hack around this kind of thing by putting a [[trigger_multiple]] for every train on the path_track, set them to only trigger when the matching train touches them, and use the "OnStartTouch" output to turn off the sprite. Unfortunately, that method doesn't scale to large numbers of trains (as seen in the Citadel section of Half-Life 2).
The logic_auto firing as follows:
:{| border=1 cellpadding="2" cellspacing="1"
|- align=left style="background:#DCDCDC; color:black"
!
! My Output > !! Target Entity !! Target Input !! Parameter !! Delay !! Only Once
|-
| [[File:Io11.png]] || OnMapSpawn || seagull || FireUser1 || &nbsp; || 0 || No
|}
 
Each of the npc_seagull entities then fire this output, but with different destination name and delay.
:{| border=1 cellpadding="2" cellspacing="1"
|- align=left style="background:#DCDCDC; color:black"
!
! My Output > !! Target Entity !! Target Input !! Parameter !! Delay !! Only Once
|-
| [[File:Io12.png]] || OnUser1 || [[Targetname#Keywords|!self]] || FlyAway || bird_flightpath_a_48 || 0 || No
|}
 
One may look at this and think this is silly, as every single output would still need to be defined separately and in three different entities no less.<br>
Surely it would have been easier to just name the seagulls unique names and then let the logic_auto tell each bird to fly anywhere. But you'd be wrong. This is faster to build.
 
Without FireUserN, the mapper would need to place multiple birds and take the time to give them all unique names. Then the logic_auto's outputs need to be set up for every bird one after another by setting Targetname and Parameter for the destination.<br>
With FireUserN, the mapper needs to set up one single output in the logic_auto to fire to all bird entities at once because they have the same name. Then set up a single bird with its outputs and copy paste it somewhere else. Since every copy has the same name, it already is targeted by the logic_auto, so all that is needed now is to change the destination name in the parameter field. Which can be done quickly if the mapper doesn't close the parameter window.
 
===Another Example===
The map [[d3_citadel_01]] contains multiple [[func_tracktrain]] (zapperpod1_train) with a [[func_door_rotating]] (zapperpod1_rotator) as a child. The func_tracktrains move along a [[path_track]].<br>
The vmf of this map can be found in "sourcesdk_content\hl2\mapsrc\sdk_d3_citadel_01.vmf".<br>
 
One of the path_track entities, specifically "pod_bay_zapper_track4", the following relevant outputs:
:{| border=1 cellpadding="2" cellspacing="1"
|- align=left style="background:#DCDCDC; color:black"
!
! My Output > !! Target Entity !! Target Input !! Parameter !! Delay !! Only Once
|-
| [[File:Io12.png]] || OnPass || !activator || Stop ||  || 0.00 || No
|-
| [[File:Io12.png]] || OnPass || !activator || FireUser1 ||  || 0.10 || No
|}
 
Once a func_tracktrain passes this path_track named "pod_bay_zapper_track4", the path_track causes the activator, which in this case are all the func_tracktrains, to stop right there and then fire "FireUser1<br>
Each "func_tracktrain" the following OnUserN outputs:
:{| border=1 cellpadding="2" cellspacing="1"
|- align=left style="background:#DCDCDC; color:black"
!
! My Output > !! Target Entity !! Target Input !! Parameter !! Delay !! Only Once
|-
| [[File:Io11.png]] || OnUser1 || zapperpod1_rotator || Open ||  || 0.00 || No
|-
| [[File:Io11.png]] || OnUser1 || zapperpod1_rotator || Close ||  || 5.00 || No
|-
| [[File:Io11.png]] || OnUser1 || playerpod1_vehicle|| Open ||  || 1.00 || No
|-
| [[File:Io11.png]] || OnUser1 || playerpod1_vehicle|| Close ||  || 4.00 || No
|}
 
This whole setup essentially tells every single func_tracktrain to stop, turn the pod around and open its doors. Another entity will cause the pod to continue moving, but that is not relevant to this example of User inputs.<br>
This speeds up workflow as well, as the mapper needs to set this up once, and then just rename the target entities by changing the number on them after pasting them multiple times.
 
==Example - Entities triggering themselves==
In some occasions, an entity might be more convenient to trigger itself, rather than having to keep checking on a logic_relay's outputs. One stellar example of that is [[env_tonemap_controller]].<br>
Usually a [[logic_auto]] would set various settings of the tonemap controller on map spawn. But it feels a little backwards to have the env_tonemap_controller be in the map, but all the settings for it are stored somewhere else<br>
So for convenience's sake, one might want a logic_auto that fires "FireUser1" to the env_tonemap_controller, which then fires "OnUser1" to itself for all the things it needs to do.
:{| border=1 cellpadding="2" cellspacing="1"
|- align=left style="background:#DCDCDC; color:black"
!
! My Output > !! Target Entity !! Target Input !! Parameter !! Delay !! Only Once
|-
| [[File:Io12.png]] || OnUser1 || !self || SetTonemapRate || 0.25 || 0.00 || No
|-
| [[File:Io12.png]] || OnUser1 || !self || SetBloomScale|| 0.2 || 0.00 || No
|-
| [[File:Io12.png]] || OnUser1 || !self || SetAutoExposureMin || 0.4 || 0.00 || No
|-
| [[File:Io12.png]] || OnUser1 || !self || SetAutoExposureMax || 1 || 0.00 || No
|}
 
== See also ==
* [[AddOutput]]


[[Category:Level Design]]
[[Category:Level Design]]
[[Category:IO System]]
[[Category:English]]

Latest revision as of 03:50, 26 April 2025

English (en)Русский (ru)中文 (zh)Translate (Translate)

The FireUser1-4 inputs and OnUser1-4 outputs are available on every entity that can receive Inputs and Outputs.
This set of controls are specially linked to work together. Entities receiving the "FireUserN" input will fire its corresponding "OnUserN" output.
Essentially, "FireUserN" and "OnUserN" are exactly the same as "Trigger" and "OnTrigger" that a logic_relay has. Except that you have four of them at once, in every single entity, and they work independent and unrelated to each other.
Valve usually uses this to have one entity trigger the same output to multiple entities, while achieving different outcomes every time because each target tells itself what to do.
One could also use it to avoid using logic_relay when the target should be triggered by multiple entities at different times. As each triggering entity directly tells the target to trigger itself.

Note.pngNote:These outputs will fire even on a disabled entity.
Warning.pngWarning:Using FireUserX via an output that automatically sends a parameter (math_counter's OnGetValue for example) can cause an error and won't fire it properly. That is because FireUserX was coded (possibly by mistake) to accept a string parameter, but the parameter sent by the math_counter is a number. Make sure to specify dummy parameter in such cases.

Example - Quicker Workflow

The map d2_coast_08 contains a logic_auto that fires the "FireUser1" output to three npc_seagull entities named "Seagull". Those then trigger themselves to fly to a unique destination, at different times.

The logic_auto firing as follows:

My Output > Target Entity Target Input Parameter Delay Only Once
Io11.png OnMapSpawn seagull FireUser1   0 No

Each of the npc_seagull entities then fire this output, but with different destination name and delay.

My Output > Target Entity Target Input Parameter Delay Only Once
Io12.png OnUser1 !self FlyAway bird_flightpath_a_48 0 No

One may look at this and think this is silly, as every single output would still need to be defined separately and in three different entities no less.
Surely it would have been easier to just name the seagulls unique names and then let the logic_auto tell each bird to fly anywhere. But you'd be wrong. This is faster to build.

Without FireUserN, the mapper would need to place multiple birds and take the time to give them all unique names. Then the logic_auto's outputs need to be set up for every bird one after another by setting Targetname and Parameter for the destination.
With FireUserN, the mapper needs to set up one single output in the logic_auto to fire to all bird entities at once because they have the same name. Then set up a single bird with its outputs and copy paste it somewhere else. Since every copy has the same name, it already is targeted by the logic_auto, so all that is needed now is to change the destination name in the parameter field. Which can be done quickly if the mapper doesn't close the parameter window.

Another Example

The map d3_citadel_01 contains multiple func_tracktrain (zapperpod1_train) with a func_door_rotating (zapperpod1_rotator) as a child. The func_tracktrains move along a path_track.
The vmf of this map can be found in "sourcesdk_content\hl2\mapsrc\sdk_d3_citadel_01.vmf".

One of the path_track entities, specifically "pod_bay_zapper_track4", the following relevant outputs:

My Output > Target Entity Target Input Parameter Delay Only Once
Io12.png OnPass !activator Stop 0.00 No
Io12.png OnPass !activator FireUser1 0.10 No

Once a func_tracktrain passes this path_track named "pod_bay_zapper_track4", the path_track causes the activator, which in this case are all the func_tracktrains, to stop right there and then fire "FireUser1
Each "func_tracktrain" the following OnUserN outputs:

My Output > Target Entity Target Input Parameter Delay Only Once
Io11.png OnUser1 zapperpod1_rotator Open 0.00 No
Io11.png OnUser1 zapperpod1_rotator Close 5.00 No
Io11.png OnUser1 playerpod1_vehicle Open 1.00 No
Io11.png OnUser1 playerpod1_vehicle Close 4.00 No

This whole setup essentially tells every single func_tracktrain to stop, turn the pod around and open its doors. Another entity will cause the pod to continue moving, but that is not relevant to this example of User inputs.
This speeds up workflow as well, as the mapper needs to set this up once, and then just rename the target entities by changing the number on them after pasting them multiple times.

Example - Entities triggering themselves

In some occasions, an entity might be more convenient to trigger itself, rather than having to keep checking on a logic_relay's outputs. One stellar example of that is env_tonemap_controller.
Usually a logic_auto would set various settings of the tonemap controller on map spawn. But it feels a little backwards to have the env_tonemap_controller be in the map, but all the settings for it are stored somewhere else
So for convenience's sake, one might want a logic_auto that fires "FireUser1" to the env_tonemap_controller, which then fires "OnUser1" to itself for all the things it needs to do.

My Output > Target Entity Target Input Parameter Delay Only Once
Io12.png OnUser1 !self SetTonemapRate 0.25 0.00 No
Io12.png OnUser1 !self SetBloomScale 0.2 0.00 No
Io12.png OnUser1 !self SetAutoExposureMin 0.4 0.00 No
Io12.png OnUser1 !self SetAutoExposureMax 1 0.00 No

See also