Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Script Help Enemy Lure and Animation Script?
MsHannerBananer Offline
Member

Posts: 218
Threads: 34
Joined: Sep 2013
Reputation: 10
#3
RE: Enemy Lure and Animation Script?

(03-30-2014, 12:45 AM)Mudbill Wrote: Tried this?
PHP Code: (Select All)
void PlayPropAnimation(stringasPropstringasAnimationfloat afFadeTimebool abLoopstringasCallback); 
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

I didn't think about it. (Because it's prop stuff).

Would it work with enemy dogs?

03-30-2014, 12:47 AM
Find


Messages In This Thread
RE: Enemy Lure and Animation Script? - by Mudbill - 03-30-2014, 12:45 AM
RE: Enemy Lure and Animation Script? - by MsHannerBananer - 03-30-2014, 12:47 AM
RE: Enemy Lure and Animation Script? - by Mudbill - 03-30-2014, 12:49 AM



Users browsing this thread: 1 Guest(s)