View Single Post
Old Dec 28th, 2006, 7:03 AM   #5
Klarre
Game engine designer
 
Klarre's Avatar
 
Join Date: May 2005
Location: Sweden
Posts: 312
Rep Power: 4 Klarre is on a distinguished road
Due to the name of the function (QueryFloatAttribute) it feels like it queries a float attribute. There might be a function for quering strings though. Otherwise you can check out the Attribute(const char*) function. It returns a const char* for you.

A tip is to use the debugger to see if variables have gotten the correct values. Another good way is to use std::cout or printf.
__________________
http://www.klarre.se
Klarre is offline   Reply With Quote