Hightower teleport vortex: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Created page with "{{tf2 point|hightower_teleport_vortex}} ==Entity Description== Halloween Vortex. ==Keyvalues== {{KV Targetname}} {{KV EnableDisable}} {{KV|Destination base name|string|The b...")
 
m (finally described what it does)
Line 1: Line 1:
{{tf2 point|hightower_teleport_vortex}}
{{lang|{{PAGENAME}}}}
 
{{tf2 point|hightower_teleport_vortex}} It creates a swirling vortex that teleports players when they walk into it. By default, it'll teleport players to destinations suffixed with "_loser;" however, if a team has been given the advantage (with <tt>SetAdvantageTeam</tt>), it'll send players of that team to destinations suffixed with "_winner."
==Entity Description==
Halloween Vortex.


==Keyvalues==
==Keyvalues==
{{KV Targetname}}
{{KV|Destination base name|string|The base name of the destination. (i.e., If using 'hell_winner' and 'hell_loser', then 'hell' is the base name.)}}
{{KV|Lifetime|float|How long the portal should stay open.}}
{{KV BaseEntity|base=1}}
{{KV EnableDisable}}
{{KV EnableDisable}}
{{KV|Destination base name|string|The base name of the destination.  (ie. If using 'hell_winner' and 'hell_loser', then 'hell' is the base name.)}}
{{KV|Lifetime|float|How long the portal should stay open.}}


==Inputs==
==Inputs==
{{IO|SetAdvantageTeam|Set which team has the advantage.|param=int}}
{{IO|SetAdvantageTeam|Set which team has the advantage.|param=int}}
{{I Targetname}}
{{IO|SetModelScale|Scale the size of the vortex.|param=float}}
{{I BaseEntity|base=1|noscroll=0}}
{{I EnableDisable}}
{{I EnableDisable}}


==Outputs==
==Outputs==
{{O Targetname}}
{{O BaseEntity}}
 
[[Category: Team Fortress 2 Entities]]

Revision as of 13:03, 7 October 2022

English (en)Translate (Translate)

Team Fortress 2 hightower_teleport_vortex is a point entity available in Team Fortress 2 Team Fortress 2. It creates a swirling vortex that teleports players when they walk into it. By default, it'll teleport players to destinations suffixed with "_loser;" however, if a team has been given the advantage (with SetAdvantageTeam), it'll send players of that team to destinations suffixed with "_winner."

Keyvalues

Destination base name ([todo internal name (i)]) <string>
The base name of the destination. (i.e., If using 'hell_winner' and 'hell_loser', then 'hell' is the base name.)
Lifetime ([todo internal name (i)]) <float>
How long the portal should stay open.


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

Inputs

SetAdvantageTeam <integerRedirectInput/integer>
Set which team has the advantage.
SetModelScale <floatRedirectInput/float>
Scale the size of the vortex.

EnableDisable:

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

Outputs