[Bf-committers] Sound Actuators and Python - Old bug?
blender at instinctive.de
Wed Jan 5 18:20:29 CET 2005
On Thu, 6 Jan 2005, Kester Maddock wrote:
> At a guess, you will probably have to deactivate the actuator, or change the
> loop mode, since it plays on the rising edge of the activation signal:
> GameLogic.addActivaActuator(cont.getActuator('grasssound'), False)
No, this didn't help... I've tried all combinations of setting it to False,
then True, then False, etc., it always only sounds once.
Prolly a bug then. Will look out for it.
> PS True and False are built-in types since at least Python 2.2
This is the first piece of Python code I wrote in my life, so please
bare with me :)
| alexander ewering instinctive mediaworks
| ae[@]instinctive[.]de http://www[.]instinctive[.]de
More information about the Bf-committers