
02-24-2007, 02:54 AM
|
|
Bowie's Deciple
|
 |
Join Date: Dec 2003
Location: Boston, MA
Posts: 748
|
|
|
Assuming that temp.getClasses is correctly assigned (please show us that code), we can only assume that (anything):: just doesnt work. for the sake of testing, try (@"battledata")::start
Tell me if that works or not. If it doesn't, looks like we need a new way to dynamically call a function from a class!
Edit:
I decided to not be lazy and try it, (@"anything")::whatever() will not work.
Esentially what you are doing is giving the same npc multiple start() functions. it would be like doing this.
function hi() {
return 2;
}
function hi() {
return 4;
}
Maybe you should find a better system? : ( |
__________________
|
Last edited by Kristi; 02-24-2007 at 05:04 AM..
|
|
|