Chaosforge Forum
DoomRL => Modding => Topic started by: yaflhdztioxo on April 24, 2010, 19:25
-
Since several are based on it but not everyone knows what it is, the infinite arena is attached (1.03). Wiki version also updated.
-
And what are the changes besides different columns and the more full description of RollBeing function?
-
Bug fix with the resolverange function. That function (rather annoyingly) takes a number as well as a table. Due to how Lua handles arguments resolverange(1, 2) is effectively resolverange(1), which will always return 1. The correct syntax is resolverange( {1, 2} ) which passes a table.
Why oh why it does that we may never know. But I was calling it the wrong way originally.
The commenting and reorganizing IS the major change. Just to make this crystal clear:
The point of these updates is to MAKE the above code crystal clear :). If there's a section you think could be easier to understand or you don't like the organization speak up. If you have your own suggestions you can include them as well.
-
New version. Certain code should be clearer, Vs are less likely to swarm you, chainsaw, BFG.
-
Implemented the new code in Angel of Patience. It makes much more sense now. Thanks for the update!