Pum/Functions/pumPowerupManager DestroyAllByClass: Difference between revisions
Jump to navigation
Jump to search
(New page: {{Server function}} __NOTOC__ This function destroys all created powerups of a certain type (class). ==Syntax== <section name="Server" class="both" show="true"> <syntaxhighlight lang="lua">void pumPower...) |
mNo edit summary |
||
Line 1: | Line 1: | ||
{{ | {{Outdated}} | ||
__NOTOC__ | __NOTOC__ | ||
This function destroys all created powerups of a certain type (class). | This function destroys all created powerups of a certain type (class). |
Latest revision as of 20:57, 23 January 2012
This article is (partially) outdated and the information may no longer apply. | |
This function destroys all created powerups of a certain type (class).
Syntax
Click to collapse [-]
Servervoid pumPowerupManager_DestroyAllByClass( string powerup_class )
Required Arguments
- powerup_class: The name of the powerup class to destroy
Example
Click to collapse [-]
ServerThis example destroys all created powerups named "healthbonus"
pumPowerupManager_DestroyAllByClass(healthbonus)
See Also
PowerupManager functions
Powerup functions
- pumPowerup_Create
- pumPowerup_Destroy
- pumPowerup_SetCollision
- pumPowerup_GetCollision
- pumPowerup_SetAnimation
- pumPowerup_GetAnimation
- pumPowerup_SetPosition
- pumPowerup_GetPosition
- pumPowerup_SetObjectID
- pumPowerup_GetObject
- pumPowerup_GetObjectID