i no it can be done but i cant figer it out, I’v tryed a few times to do so. I need the script to accept 4 keybord sensors so that if any one is pushed the dynamics are restored
Scorched Earth Games Dev
Thanks
Joel
i no it can be done but i cant figer it out, I’v tryed a few times to do so. I need the script to accept 4 keybord sensors so that if any one is pushed the dynamics are restored
Scorched Earth Games Dev
Thanks
Joel
if key1.isPositive() or key2.isPositive() or key3.isPositive() or key4.isPositive():
owner.restoreDynamics()
ok so how do you disable the dynamics when none of the are pressed
thanks
Joel
if key1.isPositive() or key2.isPositive() or key3.isPositive() or key4.isPositive():
owner.restoreDynamics()
else:
owner.suspendDynamics()
o i thought it whould be mor complicated than that thans guy
Joel