ota.Faction faction
Faction defined in factions/sh_ota.lua
Defines the whitelisted Overwatch Transhuman Arm faction (FACTION_OTA), a Combine faction whose units get the
Combine soldier model and a generated soldier name with a random unit number.
Summary
Methods
Returns the Combine soldier model for a new character of either gender.
Returns a random soldier name for a new unit, such as
OTA.C24.ECHO.OWS:042.Called when a player is transferred to the faction.
Methods
Returns the Combine soldier model for a new character of either gender.
Parameters
- player Player The player
- character Character The character
Returns
- String The model
Returns a random soldier name for a new unit, such as OTA.C24.ECHO.OWS:042.
Parameters
- player Player The player
- character Character The character
Returns
- String The name
Called when a player is transferred to the faction.
Civil Protection units keep their unit number in an Overwatch name; everyone else gets a new soldier name. The character gets the Overwatch model.
Parameters
- player Player The player
- faction Faction The faction the player comes from
- name String optional, defaults to
nilThe new name, unused