Rules I make won't work!

pxlpfctpxlpfct Member Posts: 37
edited April 2012 in Working with GS (Mac)
So, I'm making my game and everything is going fine. I made the movement rules for my character and one of the rules which will shoot a bullet, but I need 2 of these. Great, so I made a second one which was identical except that it spawned a different actor and used a different key. It didn't work in preview though! I've tried duplicating it, changing it and a bunch of other stuff but for some reason new rules I make don't work! Its not just this one, I've made others to test this. I've restarted GS multiple times but nothing!

Answers

  • UnicornInvasionUnicornInvasion Member Posts: 301
    Can you tell us the exact rule?
  • pxlpfctpxlpfct Member Posts: 37
    The top one works yet the bottom doesn't!
    http://i.imgur.com/4g3qB.png
    if you can't look at the image the top rule that works says if b key is down spawn bullet 1 and the bottom one says if v is down spawn bullet 2
  • pxlpfctpxlpfct Member Posts: 37
    Vector to angle says: the x is x of the current scene's camera + x of mouse position minus x of self, while the y says the same thing.
  • pxlpfctpxlpfct Member Posts: 37
    It is unlocked because I had to put the camera Part in but I'm not editing in the scene
  • MotherHooseMotherHoose Member Posts: 2,456
    @pxlpfct … your rules are working … one bullet is spawning behind the other

    change something on one of the bullets …

    EX: bullet1 … change actorAttributes … Motion: Liner Velocity.X set to 50

    both bullets will be visible … after bullet1 is in motion

    image MH
  • pxlpfctpxlpfct Member Posts: 37
    Thanks guys! Sorry I didn't answer earlier, I was at school.
Sign In or Register to comment.