Thread: Problem?
View Single Post
  #7  
Old 02-24-2007, 02:54 AM
Kristi Kristi is offline
Bowie's Deciple
Kristi's Avatar
Join Date: Dec 2003
Location: Boston, MA
Posts: 748
Kristi has a spectacular aura aboutKristi has a spectacular aura about
Send a message via AIM to Kristi Send a message via MSN to Kristi
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..
Reply With Quote