MantisBT - Zandronum
View Issue Details
0003013Zandronum[All Projects] Suggestionpublic2017-02-11 19:582017-02-13 00:50
StrikerMan780 
 
normalfeatureN/A
newopen 
MicrosoftWindowsXP/Vista/7
3.0-beta 
 
0003013: [Code Submission] A_RandomPowerupFrame rewrite (Custom Random Powerups)
I rewrote A_RandomPowerupFrame because it was impossible to create custom Random Powerups with the way it was coded originally.

More info here:'https://bitbucket.org/Torr_Samaho/zandronum/pull-requests/199/rewrote-a_randompowerupframe-to-allow/diff [^]'
No tags attached.
Issue History
2017-02-11 19:58StrikerMan780New Issue
2017-02-13 00:49StrikerMan780Note Added: 0016857
2017-02-13 00:50StrikerMan780Note Edited: 0016857bug_revision_view_page.php?bugnote_id=16857#r10167

Notes
(0016857)
StrikerMan780   
2017-02-13 00:49   
(edited on: 2017-02-13 00:50)
Also, I know there's this:'https://zandronum.com/tracker/view.php?id=848&nbn=1 [^]'

Which was ditched, but there isn't any way to make such a frame-based random powerup in ACS/DECORATE due to the lack of user variable scope in DECORATE. At least, not in a sane way that can function as a drop-in replacement for the existing RandomPowerup actor. I've tried several methods before writing this and gave up. I could have done it with ZScript though.