Shake Rule Isn't Working

lloydowenlloydowen Member Posts: 78
edited November -1 in Working with GS (Mac)
I have an actor which recognises the shake and changes another attribute accordingly. In theory it should work, but I can't see why it doesn't.

http://www.file.lloydowen.info/6t5Z Here's an Image of the attributes and rules I have used.
*ONCE LOOKED READ ON*
I know it doesn't work because I have another actor displaying the 'gingershealth' attribute and it remains at 50, when shaken doesn't drop by '-10'

Thanks!

Comments

  • jadjad Member Posts: 135
    the only thing i can think of is that you didn't put the actor on the screen
  • JamwithnoJamwithno Member Posts: 312
    jad said:
    the only thing i can think of is that you didn't put the actor on the screen

    I agree with hm but I would try it then if you cant see if you can find something about it on the cookbook.
  • lloydowenlloydowen Member Posts: 78
    I did put the actor on the screen.....I've looked everywhere on Cookbook, I actually think its impossible...
  • lloydowenlloydowen Member Posts: 78
    Alright so who ever want's the fix to this, the rule that recognises movement, HAS to be on a timer otherwise it will constantly check therefore constantly lowering the affected attribute. ALSO the rule has to be on ANY not both, because obviously it's physically impossible to shake it both ways. :]
  • BrynjeBamsenBrynjeBamsen Member Posts: 188
    That is not entirely true

    Make a boolean game attribute called shake

    In all your Shake rules put in

    Create rule
    If game.Shake is false

    and then put all your shake rules in this rule
Sign In or Register to comment.