Page 1 of 1

Q: Passing actor animation to global script

PostPosted: Mon Jun 19, 2006 2:11 am
by zupernoc
Is one able to pass a string of an action animation to a global script, for use in a createactor statement?

PostPosted: Mon Jun 19, 2006 9:11 pm
by makslane
You can create a function in the global code, that receive a string:

Code: Select all
void CallAnimation(char *name)
{
//Your code here
}


In the script editor, you will call:

Code: Select all
CallAnimation("The name of your animation");

PostPosted: Mon Jun 19, 2006 11:32 pm
by zupernoc
Thank you!