Neelke
Senior Member
Posts: 668
Threads: 82
Joined: Apr 2013
Reputation:
26
|
Script PlayPropAnimation
void PlayPropAnimation(string& asProp, string& asAnimation, float afFadeTime, bool abLoop, string& asCallback);
Makes the prop play an animation and calls a function.
Callback syntax: void MyFunc(string &in asProp)
asProp - internal name of the prop
asAnimation - animation to play
afFadeTime - ?
abLoop - determines whether the animation loops
asCallback - function to call
afFadeTime - ?
Anyone knows what this afFadeTime does?
|
|
11-01-2013, 01:26 PM |
|
PutraenusAlivius
Posting Freak
Posts: 4,713
Threads: 75
Joined: Dec 2012
Reputation:
119
|
RE: Script PlayPropAnimation
No one knows. Only FG does.
So...
"Veni, vidi, vici."
"I came, I saw, I conquered."
|
|
11-01-2013, 02:27 PM |
|
The chaser
Posting Freak
Posts: 2,486
Threads: 76
Joined: Jun 2012
Reputation:
113
|
RE: Script PlayPropAnimation
I don't really know, but I'd say it's the delay (eg. you activate the script with 0.5 of afFade, it will delay 0.5 seconds in playing the animation).
I don't know for sure, though.
THE OTHERWORLD (WIP)
Aculy iz dolan.
|
|
11-01-2013, 05:11 PM |
|
Acies
Posting Freak
Posts: 1,643
Threads: 60
Joined: Feb 2011
Reputation:
73
|
RE: Script PlayPropAnimation
My guess is either what the chaser said, or that it will simply skip the first 0.5 seconds of the animation and start from somewhere 'in the middle of it'.
ジ
|
|
11-01-2013, 10:27 PM |
|