View Single Post
Old 03-21-2015   #2
fickleheart
ms reflec beat stan
 
fickleheart's Avatar
Default

The additional parameters are always saved as strings, so try using tonumber(mapheaderinfo[gamemap].secretstuff) instead. (Or if you want to be able to evaluate built-in constants, EvalMath(mapheaderinfo[gamemap].secretstuff), but that one can throw errors so you should be careful with it.) The custom parameters might also fall into a similar problem as the rest of the level header parameters of padding the string out with \0s to a fixed length, so you might need to check for that.
__________________
Quote:
Originally Posted by Arf View Post
Stop trying to make slopes, guys.
fickleheart is offline   Reply With Quote