Hello!
I'm setting up a level with several models, and each model has its own script, and should be controlled individually.
What I've tried is something like this:
if(key_x == 1)
{
include scriptname.c
}
or
include <scriptname.c>;
function scriptswitcher()
{
if(varname == 1)
{
goto scriptname.c;
}
}
Both of the above given examples didn't work.
There are like 8 models, each have ALOT! of functions assigned to keys, so they should be activated one at a time, so there is only 1 model controllable whenever its clicked (for example)
Thanks in advance.