Hey guys, im following this tutorial (http://blendenzo.com/tutBeginningBGEPython.html) and I got stuck on this function.
GameLogic.addActiveActuator()
Anyone know the 2.59 equivalent?
Hey guys, im following this tutorial (http://blendenzo.com/tutBeginningBGEPython.html) and I got stuck on this function.
GameLogic.addActiveActuator()
Anyone know the 2.59 equivalent?
The API tells you what to use in case of deprecated functions (2.4->2.49). Check the detailed description by clicking on the function name.
Now the controllers activate and deactivate the actuators rather than GameLogic.
You can find all other replacements too.
Monster
Check my signature, but here’s the change anyway.
If the number is 1 or true (at the end of the bit in brackets, )
Use cont.activate(actuator) otherwise cont.deactivate(actuator)