Hi i was planning on converting my logic bricks to pure python scripts for a game i have been developing for months, i have been successful in converting my sensors but when i tried the playAction(), i had some problem with it playing a loop.
This was the scenario:
when i tried
object.playAction(“ArmatureAction”,1,24,0,0,0,bge.logic.KX_ACTIONACT_LOOPEND)
to play a loop of frames 1-24 (idle animation)
it plays the whole animation which is more than 600 frames (consisting of different char animations)
i tried _LOOPSTOP but still no success…
but if i use _PLAY it plays 1-24 but i wanted it to loop…
i tried making a loop my self by checking the current frame and set it back to 1 again if it reaches the
end frame but it messed up with my other animations making the character idle all the time.
Is it a bug in 2.63? if so, should i give up converting the action actuators and leave it even if it is so messy?
(I had around 20 actions per object)
Any ideas to work around this problem? thanks in advance?