Page 1 of 1

SOLVED EnableEntityAnimation is no Function, etc.

Posted: Mon Sep 17, 2012 4:02 pm
by Thade
PBChangeLog.txt ...

EntityAnimation:
Added: EnableEntityAnimation(#Entity, Animation$, Enable [, Loop]) - Enable the specified #Entity animation.

It's not recognized as Function - not in the IDE - and the Compiler spits out the Message : EnableEntityAnimation is no Function, LinkedList, etc ...

Re: EnableEntityAnimation is no Function, etc.

Posted: Mon Sep 17, 2012 5:08 pm
by Comtois
it is remplaced by

Code: Select all

StartEntityAnimation(#Entity, Animation$ [, Flags]) ; flags can be #PB_EntityAnimation_Manual , #PB_EntityAnimation_Once (no loop)
StopEntityAnimation(#Entity, Animation$)
idem for
Added: EnableNodeAnimation(#NodeAnimation, Enable [, Loop]) - Enable the specified #NodeAnimation.
it is remplaced by

Code: Select all

StartNodeAnimation(#NodeAnimation, Animation$ [, Flags]) 
StopNodeAnimation(#NodeAnimation, Animation$)

Re: EnableEntityAnimation is no Function, etc.

Posted: Mon Sep 17, 2012 7:57 pm
by Thade
Thanks, Comtois

Already changing the Changelog to be up to date :)