Difference between revisions of "Game lives manager"

From Obsidian Conflict Wiki
Jump to: navigation, search
m (New page: {{oc_ent}} {{stub}})
 
 
Line 1: Line 1:
{{oc_ent}}
+
{{oc ent}}
{{stub}}
+
== Entity Description ==
 +
 
 +
An entity that controls distribution of lives to teams and players throughout the map.
 +
 
 +
== Keyvalues ==
 +
 
 +
* '''targetname <target_source>'''
 +
 
 +
Defines the name that other entities refer to this entity by.
 +
 
 +
==Inputs==
 +
* '''Kill'''
 +
 
 +
Removes this entity from the world.
 +
 
 +
* '''KillHierarchy'''
 +
 
 +
Removes this entity and all its children from the world.
 +
 
 +
* '''AddOutput <string>'''
 +
 
 +
Evaluates a keyvalue/output on this entity. It can be potentially very dangerous, use with care.
 +
 
 +
Format: <key> <value>
 +
 
 +
Format: <output name> <targetname>:<inputname>:<parameter>:<delay>:<max times to fire (-1 == infinite)>
 +
 
 +
* '''FireUser1-4'''
 +
 
 +
Causes this entity's OnUser1-4 outputs to be fired. See User Inputs and Outputs.
 +
 
 +
* '''GiveLivesToActivator'''
 +
 
 +
Gives the determined amount of lives to the player who activates this entity.
 +
 
 +
* '''GiveLivesToActivatorTeam'''
 +
 
 +
Gives the determined amount of lives to the team for which the player who activates this entity belongs to.
 +
 
 +
* '''GiveLivesToAllPlayers'''
 +
 
 +
Gives the determined amount of lives to all players on the server.
 +
 
 +
* '''GiveLivesToBlueTeam'''
 +
 
 +
Gives the determined amount of lives to the Blue team.
 +
 
 +
* '''GiveLivesToRedTeam'''
 +
 
 +
Gives the determined amount of lives to the Red team.
 +
 
 +
* '''GiveLivesToEnemyTeam'''
 +
 
 +
Gives the determined amount of lives to the enemy team of the player who activates this entity.
 +
 
 +
==Outputs==
 +
 
 +
* '''OnUser1-4'''
 +
 
 +
Fired in response to FireUser1-4 inputs. See User Inputs and Outputs.
 +
 
 +
!activator = activator

Latest revision as of 09:03, 29 November 2008

Entity.png This Page contains informations about an Obsidian Conflict Entity, which means it is only availible for Obsidian Conflict or rather in that form it is explained.

Entity Description

An entity that controls distribution of lives to teams and players throughout the map.

Keyvalues

  • targetname <target_source>

Defines the name that other entities refer to this entity by.

Inputs

  • Kill

Removes this entity from the world.

  • KillHierarchy

Removes this entity and all its children from the world.

  • AddOutput <string>

Evaluates a keyvalue/output on this entity. It can be potentially very dangerous, use with care.

Format: <key> <value>

Format: <output name> <targetname>:<inputname>:<parameter>:<delay>:<max times to fire (-1 == infinite)>

  • FireUser1-4

Causes this entity's OnUser1-4 outputs to be fired. See User Inputs and Outputs.

  • GiveLivesToActivator

Gives the determined amount of lives to the player who activates this entity.

  • GiveLivesToActivatorTeam

Gives the determined amount of lives to the team for which the player who activates this entity belongs to.

  • GiveLivesToAllPlayers

Gives the determined amount of lives to all players on the server.

  • GiveLivesToBlueTeam

Gives the determined amount of lives to the Blue team.

  • GiveLivesToRedTeam

Gives the determined amount of lives to the Red team.

  • GiveLivesToEnemyTeam

Gives the determined amount of lives to the enemy team of the player who activates this entity.

Outputs

  • OnUser1-4

Fired in response to FireUser1-4 inputs. See User Inputs and Outputs.

!activator = activator