Hm, this line doesn't make sense to me:

var current_node_vec4,skill8;

Looks like you meant DEFINE instead? But if you change it to DEFINE it's going to give you a bunch of errors because you'd have to access it through MY.current_node_vec4 instead of current_node_vec4.x or whatever, and you can't use my.current_node_vec.x. What's the problem with defining the vector inside a function? I think it's a far superior way, and frankly I'm surprised you're not getting a bunch of compiler errors with the code you currently have.

edit: sorry if that sounded at all rude. not intended whatsoever.

Last edited by LogantheHogan; 08/13/07 06:21.