Hey!
I’m trying to have an animation repeat in the BGE, and so far it’s working, but it only plays once…
This is kind of pathetic but…how can I have it repeat infinitely?
I used an alway actuator, but…not sure why that doesn’t work. :eek:
Not very familiar with the BGE syntax yet.
This is the syntax I have so far:
cont=GameLogic.getCurrentController()
own=cont.getOwner()
act=cont.getActuator(“act”)
if own.Frame < 75:
own.Frame+=1
GameLogic.addActiveActuator (act,1)
Here’s a link to a screenshot so you have an idea of what I’m talking about, and so you can see my Logic window setup.
Thanks!
Tippmann01