User Inputs and Outputs: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(montatac4ts)
(why addoutput?)
 
(37 intermediate revisions by 21 users not shown)
Line 1: Line 1:
[http://rabinovich.freehostia.com/data/divorce-forms.html free printable divorce form] [http://glyndap.w8w.pl/wiki/ski.html jet ski] [http://shank.portrelay.com/resources/kids-events.html current event kid science] [http://fount.isasecret.com/new/fox-squirrel.html fox squirrel] [http://stout.yourtrap.com/q/realitors.html realitors] [http://skolzashiy.wan.io/blog/gmail.html gmail] [http://smetra.wan.io/acer.html acer] [http://discov.portrelay.com/description/herbal-cosmetics.html herbal cosmetics] [http://discov.portrelay.com/description/avenged-sevenfold.html avenged sevenfold mp3 download] [http://deriv.justdied.com/q/springfield-trapdoor.html springfield trapdoor rifle] [http://muurli.ifrance.com/resources/milage.html gas milage] [http://sourly.isasecret.com/content/home-loans-bad.html bad credit home loan uk] [http://unlov.ikwb.com/directory/home-furnishing.html home furnishing] [http://lying.yourtrap.com/2014-t6.html 2014 t6] [http://vbrilliant.datadiri.com/text/taylor-made-golf.html discount taylor made golf club] [http://mserg.ifrance.com/bbq-recipe.html barbecue sauce recipe] [http://mercedezalkire.aboutus.vg/jcpenney.html jc penney free shipping code] [http://grisellarsen.ide.am/directory/rapper-50-cent.html rapper 50 cent underwent emergency] [http://lateshacl.w8w.pl/wiki/americacom-banko.html america.com banko] [http://sourly.isasecret.com/content/sango.html sango] [http://sonnet.yourtrap.com/vw-light-bulbs.html vw light bulbs] [http://wrung.mrbonus.com/styles/pork-recipes.html pork recipes] [http://airinik.profil.in/view/channel-4.html channel 4 news] [http://glyndap.w8w.pl/wiki/orthopedic-surgeon.html orthopedic surgeon at new england baptist hospital] [http://wrung.mrbonus.com/styles/pdf995-serial-key.html pdf995 serial key] [http://shank.portrelay.com/resources/metallica-no-leaf.html metallica no leaf clover] [http://jewelreith.ourprofile.net/q/man-and-women.html man and women] [http://stout.yourtrap.com/q/scsi-adaptec.html adaptec card scsi] [http://lying.yourtrap.com/publicis-seattle.html publicis seattle website] [http://stout.yourtrap.com/q/atk-hairy-model.html atk hairy model mom movie] [http://poison.ddns.us/topic/louis-armstrong.html louis armstrong mp3 download free] [http://stout.yourtrap.com/q/hepatitis-b.html b hepatitis virus] [http://ruthfremonta.freehostia.com/q/free-porno-pictures.html free porno pictures] [http://gallia.isasecret.com/description/gorilla-mask.html gorilla mask] [http://shank.portrelay.com/resources/family-guy-episode.html download family guy episode] [http://highly.yourtrap.com/new/marlbora-lights.html marlbora lights] [http://ivanensis.profil.in/refinance.html refinance] [http://darina.wan.io/library/translator-english.html online translator voice spanish english free] [http://highly.yourtrap.com/new/site-py.html site py] [http://skolzashiy.wan.io/blog/teen-fuck.html teen fuck] [http://verlieeckard.ecv.vg/sitemap.html website] [http://jamesustaita.ecv.vg/directory/pda-spring-kickoff.html pda spring kickoff tournament] [http://manaev.freehostia.com/web/bmi-baby.html baby bmi com] [http://carameloholic.freehostia.com/new/adult-dating.html adult dating services online] [http://britanycha.w8w.pl/wiki/codes-xbox.html x box game code] [http://unlov.ikwb.com/sitemap.html home] [http://sooknormandin.aboutus.vg/photoshop-dashed.html photoshop dashed line tutorial] [http://poison.ddns.us/topic/music-therapy-courses.html music therapy courses ireland] [http://glyndap.w8w.pl/wiki/castlevania.html castlevania] [http://familyguy23.ifrance.com/sitemap.html link] [http://glyndap.w8w.pl/wiki/carol.html carol] [http://deriv.justdied.com/q/scooter-the-logical.html scooter the logical song] [http://dinabeadles.ide.am/description/what-do-dreams.html crow dream it means] [http://lateshacl.w8w.pl/wiki/school-age-theme.html school age theme] [http://boomstickreport.freehostia.com/sitemap.html site] [http://taynasvobodnay.ifrance.com/view/australia-tent.html australia tent] [http://lying.yourtrap.com/residential-local.html residential local phone service] [http://shank.portrelay.com/resources/remove-aurora.html remove aurora] [http://tinishav.w8w.pl/view/pictures-of-childhood.html pictures of childhood obesity] [http://catwoman19801.freehostia.com/gateway-bible.html gateway bible] [http://boomstickreport.freehostia.com/q/purchase-vicodin.html purchase vicodin] [http://familyguy23.ifrance.com/blog/video-cd-production.html video cd production] [http://meghann.w8w.pl/small/iberostar-riviera.html iberostar riviera mayan] [http://lorainda.wan.io/library/mobile-phone-wallpaper.html t mobile cell phone wallpaper] [http://laviniamaddix.datadiri.com/new-nextel-phone.html new nextel blackberry phone] [http://round.ddns.us/bose-miguel.html ana bose el miguel miguel rios torroja tri] [http://unlov.ikwb.com/directory/family-guy-clips.html clip family guy sound] [http://emnity.serveusers.com/alumacraft-boats.html alumacraft boats] [http://poorly.mrbonus.com/access-cover.html access cover] [http://glassrockboy.freehostia.com/text/grannies.html grannies] [http://expel.serveusers.com/caligraphy-alphabet.html caligraphy alphabet] [http://acture.isasecret.com/methotrexate-liver.html methotrexate liver biopsy] [http://plashy.mrbonus.com/titans.html titans] [http://dinabeadles.ide.am/description/daddy-yankee-lyrics.html daddy yankee gasoline lyric] [http://rosanne.w8w.pl/resources/sourceforge.html azureus sourceforge] [http://plashy.mrbonus.com/bf-goodrich.html bf goodrich] [http://semantoo.cabanova.ro domain] [http://airinik.profil.in/view/craigs-list-chicago.html craigs apartment list chicago] [http://ultrawoman.ifrance.com/styles/rov-courses.html rov courses] [http://airinik.profil.in/view/expedition-game.html expedition game hidden titanic] [http://should.yourtrap.com/lib/potato-salad.html potato salad] [http://fount.isasecret.com/new/santo-domingo.html santo domingo punta cana] [http://meghann.w8w.pl/small/restaurant-uniforms.html restaurant uniforms] [http://zinamorano.aboutus.vg/sitemap.html domain] [http://www.deevoid.reunionwatch.com/ url] [http://wouid.mrbonus.com/small/id.html i.d yahoo] [http://britanycha.w8w.pl/wiki/foxx-kitty.html kitty foxx fan club] [http://deriv.justdied.com/q/2005-super-bowl.html 2005 super bowl lines] [http://deriv.justdied.com/q/harley-davidson.html davidson harley shirt tattoo] [http://britanycha.w8w.pl/wiki/sportsplex-langley.html sportsplex langley] [http://chantellehernan.ourprofile.net/resources/trailer-couplers.html coupler hitch trailer] [http://ultrawoman.ifrance.com/styles/niacin-benefits.html niacin, benefits] [http://crieth.mrbonus.com/blog/the-outsiders.html the outsiders] [http://carameloholic.freehostia.com/new/honda-civic.html honda civic type r] [http://sought.justdied.com/wiki/tom-limkin-real.html tom limkin real estate] [http://wouid.mrbonus.com/small/thrifty.html thrifty] [http://wouid.mrbonus.com/small/aircraft-manufacturing.html aircraft manufacturing news] [http://cheese.justdied.com/lib/plates-and-glasses.html plates and glasses colorado] [http://jamesustaita.ecv.vg/directory/pha.html pha trinh] [http://muurli.ifrance.com/resources/wall-mount-plate.html mount plate rack wall] [http://familyguy23.ifrance.com/sitemap.html links] [http://manaev.freehostia.com/web/shemale-xxx.html horny hot shemale xxx] [http://catwoman19801.freehostia.com/sofas.html sectional sofa] [http://katlynhofer.ourprofile.net/comments/cheap-wholesale.html cheap wholesale jordan shoes] [http://newbeginin.ifrance.com/gremlins.html gremlins] [http://thetoad.ifrance.com/content/konstruktivisme.html konstruktivisme] [http://wrung.mrbonus.com/styles/bruce.html bruce springsteen concert ticket] [http://gallia.isasecret.com/description/bend-over-no-panty.html bend over no pantie] [http://tinishav.w8w.pl/view/jay-chou-photo.html jay chou photo gallery] [http://should.yourtrap.com/lib/kal-ho-na-ho.html kal ho na ho midi file] [http://vanessamitten.datadiri.com/sitemap.html link] [http://carameloholic.freehostia.com/new/henry-rifles.html action henry lever rifle] [http://lightbird.ifrance.com/directory/royal-bankcanada.html royal bank.canada] [http://mserg.ifrance.com/wal-board-texture.html wal board texture gun] [http://should.yourtrap.com/lib/stephen-j-kimball.html stephen j kimball] [http://taynasvobodnay.ifrance.com/view/honor-display.html honor display box] [http://kizzygochenour.ecv.vg/incell-inc.html incell inc] [http://mserg.ifrance.com/orlando-sentinal.html orlando sentinal] [http://www.slontze.20megsfree.com/ web] [http://meagre.ddns.us/view/poison-gas.html 1 gas in poison war world] [http://verlieeckard.ecv.vg/web/paladin-smiter.html paladin smiter] [http://www.petron.i8.com/ link] [http://thepetecom.profil.in/blog/calander.html 2007 calendar] [http://guiana.myftp.info/pages/j-doyne-farmer.html j doyne farmer] [http://meghann.w8w.pl/small/madden-05-cheats.html madden 05 cheats gamecube] [http://tinishav.w8w.pl/view/platelets.html low platelet] [http://meagre.ddns.us/view/male-slave-pics.html male slave pics] [http://built.longmusic.com/html/question-to-ask.html question to ask the financial planner] [http://ultrawoman.ifrance.com/styles/woman-licking-herself.html woman licking herself] [http://maireje.w8w.pl/library/name-meaning.html name meaning] [http://round.ddns.us/dementia.html lewy body dementia] [http://ivanensis.profil.in/photos-of-paris.html photos of paris hilton naked] [http://poorly.mrbonus.com/very-young-black.html very young black pussy] [http://lidiame.w8w.pl/comments/trade-show-display.html trade show display equipment] [http://deriv.justdied.com/q/russell-crowe.html russell crowe danielle spencer] [http://carameloholic.freehostia.com/new/fat-granny-sex.html fat granny sex] [http://zinamorano.aboutus.vg/content/jennifer-connelly.html jennifer connelly] [http://tinishav.w8w.pl/view/studying-at.html studying at home uk] [http://glyndap.w8w.pl/wiki/newborn-baby.html newborn baby diaper] [http://jamesustaita.ecv.vg/directory/kc-royals.html kc royals] [http://emnity.serveusers.com/sitemap.html domain] [http://lateshacl.w8w.pl/wiki/signs-gifted-children.html child gifted sign] [http://tinishav.w8w.pl/view/assessing-cogat.html assessing cogat result] [http://ultrawoman.ifrance.com/styles/kerri-strug.html kerri strug] [http://annasartin.freehostia.com/blog/dirty-dancing-mp3.html dirty dancing mp3] [http://mercedezalkire.aboutus.vg/cum-on-bras.html cum on bras] [http://hitokiri.wan.io/bargain-network.html bargain network] [http://boomstickreport.freehostia.com/q/football-gambling.html nfl football gambling] [http://wrung.mrbonus.com/styles/yarraville-postcode.html yarraville postcode] [http://fount.isasecret.com/new/letter-a.html letter a] [http://widow.ddns.us/content/attorney-mediation.html attorney mediation services] [http://kovshegru.profil.in/resources/free-ringtones.html free ringtones for nokia] [http://crieth.mrbonus.com/blog/printer-paper.html thermal printer paper] [http://fount.isasecret.com/new/thong-flashing.html thong flashing gallery] [http://mserg.ifrance.com/internetexplorerapplication.html internetexplorer.application navigate] [http://lying.yourtrap.com/mini-cooper-parts.html mini cooper performance part] [http://shawneebirchfie.aboutus.vg/magic-pilot.html lyric magic pilot] [http://vbrilliant.datadiri.com/text/starz.html kumbia picture starz] [http://cheese.justdied.com/lib/short-curly-hair.html short curly hair] [http://ivanensis.profil.in/soup.html soup] [http://www.stberg.indiegroup.com/ domain] [http://sought.justdied.com/wiki/medical-office.html medical office scheduling software] [http://highly.yourtrap.com/new/british-open.html british open] [http://odiliabielecki.aboutus.vg/tomo.html tomo] [http://getontheboat.ifrance.com/audio-library.html audio library software] [http://jamesustaita.ecv.vg/directory/jock-strap-woman.html jock strap woman] [http://gammon.isasecret.com/sitemap.html web] [http://micharandazzo.ourprofile.net/june-is-busting.html june is busting out] [http://lying.yourtrap.com/african-queen-movie.html african queen movie poster] [http://ultrawoman.ifrance.com/styles/immigrate-canada.html immigrate canada] [http://glyndap.w8w.pl/wiki/evan-stone.html evan stone] [http://poison.ddns.us/topic/nero-download.html download nero express 6] [http://helenaimbre.freehostia.com/html/limewire-porn.html download limewire porn] [http://kovshegru.profil.in/resources/globetrotter.html globetrotter inn edinburgh] [http://lorainda.wan.io/library/mp3-to-ringtone.html mp3 to ringtone converter] [http://plashy.mrbonus.com/debra-lafave.html debra lafave] [http://glassrockboy.freehostia.com/text/invitation-card.html free invitation card design] [http://acture.isasecret.com/chicken-huntin.html chicken huntin] [http://deriv.justdied.com/q/norma-jean-o.html norma jean o god the aftermath tracklist] [http://crieth.mrbonus.com/blog/twinks-young.html teen twinks boy young] [http://www.galmirirk.00video.com/ website] [http://cheese.justdied.com/lib/tucson-new-home.html new home in tucson] [http://ultrawoman.ifrance.com/styles/1-night-in-chyna.html 1 night in chyna torrent] [http://lidiame.w8w.pl/comments/ocean-surface.html ocean surface waves] [http://www.sianna.00politics.com/ link] [http://round.ddns.us/changing-adult.html changing adult baby diapers] [http://hitokiri.wan.io/ferrari-gto.html 288 ferrari gto] [http://zinamorano.aboutus.vg/content/pituley.html pituley] [http://sourly.isasecret.com/content/belladona.html belladona] [http://unlov.ikwb.com/directory/1-514.html 1 514] [http://fount.isasecret.com/new/equilibrium.html equilibrium] [http://cheyennelevy.ecv.vg/resources/ferari.html ferrari los angeles] [http://mastekostya.datadiri.com/styles/shot-guns.html shot guns] [http://guiana.myftp.info/sitemap.html map] [http://sourly.isasecret.com/content/marik-ishtar.html marik ishtar] [http://catwoman19801.freehostia.com/fotos-ovnis.html fotos ovnis] [http://glyndap.w8w.pl/wiki/toronto-fire-departments.html toronto fire departments] [http://velure.isasecret.com/sitemap.html http] [http://www.zanoza.freehosting.net/ domain] [http://vanessamitten.datadiri.com/wiki/erotic-art.html art erotic gallery]
{{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