So I was wondering how one would go about declaring an array of handles to functions in BGT? Is such an action possible? It would be nice if it was, I sort of need such an array at the moment.
Pages 1
You are not logged in. Please login or register.
AudioGames.net Forum → Developers room → Declaring an array of handles to functions in BGT?
So I was wondering how one would go about declaring an array of handles to functions in BGT? Is such an action possible? It would be nice if it was, I sort of need such an array at the moment.
Does this work?
funcdef void my_function_type();
my_function_type@[] functions(10);
yes. That did seem to work. The only problem now is that I am now running into another problem. I have a class with a function called, "push". When I attempt to call the push function from within another class such as below:
brain.push(find_leaves);
I get an error when trying to run the program. The push function takes only one parameter:
bool push(my_function_type@ func) {
I'm sure there's some obvious reason why this is not working, but I can't seem to figure it out. I've tried many different variants of the two lines above with no success.
AudioGames.net Forum → Developers room → Declaring an array of handles to functions in BGT?
Generated in 0.019 seconds (37% PHP - 63% DB) with 10 queries