Shooting

Talk about making games.

Shooting

Postby whiteboy » Mon Mar 13, 2006 6:07 am

how do i make one of my actors pick up a wepon then make it so if he presses a buton and it shoots once, i already have the actor being able to pick up a wepon i just need to know how he can shoot it but not befour he picks it up
whiteboy
 
Posts: 1
Joined: Mon Mar 13, 2006 6:03 am
Score: 0 Give a positive score

Postby Troodon » Mon Mar 13, 2006 12:22 pm

Make a variable for example CanShoot. In the beginning the CanShoot is 0 and you can't shoot. When you pick the weapon, the CanShoot value goes to 1 and you can shoot. If this didn't help continue asking :D
I can't die, I already tried
~on the forums since GE 1.3.3~
User avatar
Troodon
 
Posts: 1539
Joined: Thu Jan 12, 2006 3:29 pm
Location: HELL
Score: 56 Give a positive score


Return to Game Development

Who is online

Users browsing this forum: No registered users and 1 guest