Template:I BaseTrigger: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
(Added Croatian)
Line 1: Line 1:
{{ulf|en=1|hr=1}}
[[Category:Input Templates|Trigger]]
[[Category:Input Templates|Trigger]]
<onlyinclude>{{expand|title=BaseTrigger|startcollapsed={{{startcollapsed|1}}}|noborder={{#ifeq:{{{startcollapsed}}}|0|1|0}}|bgcolor=initial|
<onlyinclude>{{expand|title=BaseTrigger|startcollapsed={{{startcollapsed|1}}}|noborder={{#ifeq:{{{startcollapsed}}}|0|1|0}}|bgcolor=initial|
{{IO|Toggle|Toggles this trigger between enabled and disabled states.}}
{{IO|Toggle|{{#switch: {{language}}
{{IO|Enable|Enable trigger}}
| #default = Toggles this trigger between enabled and disabled states.
{{IO|Disable|Disable trigger}}
| hr = Prebacuje ovaj okidač između omogućenog i onemogućenog stanja.
{{IO|TouchTest|Triggers either the <tt>OnTouching</tt> or <tt>OnNotTouching</tt> outputs for whether anything is touching this entity.|since={{Src07}}}}
}}}}
{{IO|StartTouch|Behave as if the {{ent|!caller}} entity had just entered the trigger volume. Accepts non-physical entities.|since={{Src07}}|nofgd=1}}
{{IO|Enable|{{#switch: {{language}}
{{IO|EndTouch|Behave as if <tt>!caller</tt> had just exited the trigger volume.|since={{Src07}}|nofgd=1}}
| #default = Enable trigger
{{IO|DisableAndEndTouch|Disables this trigger and calls <tt>EndTouch</tt> on all currently-touching entities.|only={{Tf2}}{{Src13mp}}}}}}</onlyinclude>
| hr = Omogući okidač
}}}}
{{IO|Disable|{{#switch: {{language}}
| #default = Disable trigger
| hr = Onemogući okidač
}}}}
{{IO|TouchTest|{{#switch: {{language}}
| #default = Triggers either the <tt>OnTouching</tt> or <tt>OnNotTouching</tt> outputs for whether anything is touching this entity.
| hr = Pokreće izlaze <tt>OnTouching</tt> ili <tt>OnNotTouching</tt> da bi se utvrdilo dodiruje li nešto ovaj entitet.
}}|since={{Src07}}}}
{{IO|StartTouch|{{#switch: {{language}}
| #default = Behave as if the {{ent|!caller}} entity had just entered the trigger volume. Accepts non-physical entities.
| hr = Ponašajte se kao da je entitet {{ent|!caller}} upravo ušao u glasnoću okidača. Prihvaća nefizičke entitete.
}}|since={{Src07}}|nofgd=1}}
{{IO|EndTouch|{{#switch: {{language}}
| #default = Behave as if <tt>!caller</tt> had just exited the trigger volume.
| hr = Ponašajte se kao da je <tt>!caller</tt> upravo izašao iz glasnoće okidača.
}}|since={{Src07}}|nofgd=1}}
{{IO|DisableAndEndTouch|{{#switch: {{language}}
| #default = Disables this trigger and calls <tt>EndTouch</tt> on all currently-touching entities.
|hr = Onemogućuje ovaj okidač i poziva <tt>EndTouch</tt> na svim entitetima koji se trenutno dodiruju.
}}|only={{Tf2}}{{Src13mp}}}}
}}</onlyinclude>

Revision as of 06:29, 24 October 2024

English (en)Hrvatski (hr)
BaseTrigger
Toggle
Toggles this trigger between enabled and disabled states.
Enable
Enable trigger
Disable
Disable trigger
TouchTest  (in all games since Source 2007)
Triggers either the OnTouching or OnNotTouching outputs for whether anything is touching this entity.
StartTouch  (in all games since Source 2007) !FGD
Behave as if the !caller entity had just entered the trigger volume. Accepts non-physical entities.
EndTouch  (in all games since Source 2007) !FGD
Behave as if !caller had just exited the trigger volume.
DisableAndEndTouch  (only in Team Fortress 2Source 2013 Multiplayer)
Disables this trigger and calls EndTouch on all currently-touching entities.