db_powerup_ability_storer

From Valve Developer Community
Revision as of 00:16, 5 December 2011 by Mattshu (talk | contribs)
Jump to navigation Jump to search


Entity Description

Saves and restores powerup abilities. You use 2 inputs 'Store' and 'Restore' with this. What this will do is; using the Store input will save your currently equiped abilities to the entities 'memory'. It will record whatever your current powerups where at the time you stored it. It will remember those inside that specific entity (unless you obviously killed it), now when ever you use the Restore input it will give you back your powerups you had when you stored them. In laymen's terms, 'Store' - save the powerups, and 'Restore' - give the saved powerups. It can restore as many times as desired.

Note that This entity is a 'sole' entity, so if you place 2 of these entities, naming them each differently, restoring one will only restore the powerups in that entity, but not the other.

Keyvalues

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

Inputs

  • Fire
Fires the entity (use this for triggering this entity).
  • Store
Saves the current abilities.
  • Restore
Restores the abilities. Note: will only add, never remove abilities.

Outputs

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

See also