Mystery: Difference between revisions

From Fortress Blast
Jump to navigationJump to search
mNo edit summary
No edit summary
Line 6: Line 6:


<youtube>ZRfYXTq3_UA</youtube>
<youtube>ZRfYXTq3_UA</youtube>


== Developer Information ==
== Developer Information ==


Mystery operates by setting the player's powerup to a random powerup that fits all rules defined for spawning, but with an additional rule that prevents the chosen powerup from being Mystery. Then, the player's powerup Use effect is used. Mystery is the only powerup to not have a use sound, since it simply plays the use sound of the powerup it picks. Mystery also ''technically'' has no callback, since any callbacks will be the callbacks for the powerup it uses.
Mystery operates by setting the player's powerup to a random powerup that fits all rules defined for spawning according to the [[ConVars|ConVar]] <code>[[sm_fortressblast_powerups]]</code>, but with an additional rule that prevents the chosen powerup from being Mystery. Immediately after this, the selected powerup is automatically used. Mystery is the only powerup to not have a use sound, since it simply plays the use sound of the powerup it picks.


[[Category:Powerups]]
[[Category:Powerups]]
[[Category:Powerups with no callback]]
[[Category:Powerups with no callback]]

Revision as of 20:29, 4 March 2020

Powerup mystery.png

Mystery is the tenth powerup in Fortress Blast. It was added to Fortress Blast in version 1.0 and is a completely original powerup.

Mystery takes on the effects of another random enabled powerup upon use. Unlike other powerups, Mystery cannot be the only powerup enabled.

Developer Information

Mystery operates by setting the player's powerup to a random powerup that fits all rules defined for spawning according to the ConVar sm_fortressblast_powerups, but with an additional rule that prevents the chosen powerup from being Mystery. Immediately after this, the selected powerup is automatically used. Mystery is the only powerup to not have a use sound, since it simply plays the use sound of the powerup it picks.