I have a question on the subject of user-defined functions.
Would it be possible to assign a set of functions to an array, so a variable can index which one to use? Basically you could check a variable, and run one Function depending on that variable without having to do the If-Then-Else-If method, which I've always thought of as choppy and unrefined. I'd have no idea how to set something like that up, though... Maybe "{variable} = {function name};", like it would trick the variable into setting itself to whatever the function equates to in terms of numerical values (I hope I explained that right
![icon_heh.gif](http://www.purezc.com/forums/public/style_emoticons/default/icon_heh.gif)
It's not the end of the world if this can't be done, but if it can, I'll definitely use that over If-Then-Else-If.
![icon_king.gif](http://www.purezc.com/forums/public/style_emoticons/default/icon_king.gif)
I don't really understand what you mean. You want to call a different function based on a value of an integer?