I want to create a script so that when the player swipes the bomb they lose a life instead of dying, how do i do this??? There are 4 bombs and the player has 3 lives!!!!!
Offline
Try something like
When I receive [bomb swiped v] Change [lives v] by (-1)
Last edited by Programmer_112 (2013-03-23 12:48:09)
Offline
This Really Wasnt Helpful!!!!!!!!! What Were You Thinking????
Offline
scratchy97 wrote:
This Really Wasnt Helpful!!!!!!!!! What Were You Thinking????
You have a script that says when a bomb is swiped (if touching [bomb v]>) change a variable called lives (which is set to 3 at the start) by - 1. Have another that says when lives = 0 go to menu screen.
Offline
OK, I think I can help. Here are the mouse/knife's scripts:
when gf clicked forever//if this ever happens, it will always catch it if <touching [bomb v]?>//if it's touching the bomb, it does this change [lives v] by [-1] wait until <not<touching [bomb v]?>>//waits so it doesn't over-count end end endThat should work. Hope that helped!
Offline