Does anybody know why this script works in Ubuntu (python 2.4.1) , but not on Macs (python 2.5)? I know that it doesn’t work, because when the script is run, the actuator is not activated.
import GameLogic cont = GameLogic.getCurrentController() own = cont.getOwner() act = cont.getActutor("act") saveFile = open("status.txt", "w") saveFile.write("status1 ") saveFile.close() GameLogic.addActiveActuator(act,1)
The file that runs the script is the same in both cases, run off a flash drive, so I don’t think that there can be any mistakes of that nature. Unfortunately, I can’t debug it on the Macs, because I don’t have access to the terminal. Both computers are running Blender 2.44. Thanks!