Db powerup ability storer: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
m (added language bar and updated template usage.)
Line 1: Line 1:
{{DISPLAYTITLE:db_powerup_ability_storer}}
{{lang|{{PAGENAME}}|$title=db_powerup_ability_storer}}
{{Src09}}{{ent|db_powerup_ability_storer}} is a [[point entity]] available in {{game name|src09|name=Dreamball|icon=0}}.


== Entity Description ==
== Entity Description ==
Saves and restores powerup abilities.  
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.  
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.  
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.
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 ==
== Keyvalues ==
*'''[[targetname]] <target_source>'''
{{KV BaseEntity|base=1|noscroll=1}}
: Defines the name that other entities refer to this entity by.


== Inputs ==
== Inputs ==
 
{{I BaseEntity|base=1}}
*{{I Targetname}}
{{IO|Fire|Triggers the entity.}}
*'''Fire'''
{{IO|Store|Saves the current abilities.}}
:Fires the entity (use this for triggering this entity).
{{IO|Restore|Restores the abilities. {{note|This will only add abilities, never remove them.}}}}
*'''Store'''
:Saves the current abilities.
*'''Restore'''
:Restores the abilities. Note: will only add, never remove abilities.


== Outputs ==
== Outputs ==
* '''[[User Inputs and Outputs|OnUser1-4]]'''
{{O BaseEntity}}
:Fired in response to [[User Inputs and Outputs|FireUser''1-4'']] inputs. See [[User Inputs and Outputs]].


==See also==
==See Also==


*[[db powerup ability remover]]
*{{ent|db_powerup_ability_remover}}
*[[List of Dreamball Entities]]
*[[List of Dreamball Entities]]
*[[Dreamball Level Creation]]
*[[Dreamball Level Creation]]


[[Category:Dreamball]]
[[Category:Dreamball]][[Category:Non-internal entity]][[Category:Point Entities]]

Revision as of 10:55, 8 May 2022

English (en)Translate (Translate)

Source 2009db_powerup_ability_storer is a point entity available in Template:Game name.

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

Inputs

Fire
Triggers the entity.
Store
Saves the current abilities.
Restore
Restores the abilities.
Note.pngNote:This will only add abilities, never remove them.

Outputs

See Also