by Major Cooke » Wed Dec 16, 2015 1:01 am
Pull Request
Simply put, these four functions get the minimum or maximum of the entered integer/floating numbers. Like (f)randompick, you can input as many values as you like.
And for those of you wondering why it's called 'imin/imax', it's because of conflicts with actor.txt. I.e. A_SetRipperMin(int
min) causes zdoom to fail start-up. So, it has to be something else. I settled with imin/imax to indicate integer.
- Attachments
-
test.pk3
- Summon MCD. Spews out a few numbers, the last two are the lowest and highest (min/max) respectively.
- (7.67 KiB) Downloaded 110 times
[url=https://github.com/rheit/zdoom/pull/445]Pull Request[/url]
Simply put, these four functions get the minimum or maximum of the entered integer/floating numbers. Like (f)randompick, you can input as many values as you like.
And for those of you wondering why it's called 'imin/imax', it's because of conflicts with actor.txt. I.e. A_SetRipperMin(int [b][u]min[/u][/b]) causes zdoom to fail start-up. So, it has to be something else. I settled with imin/imax to indicate integer.