I'm trying to do it, I've made OK progress, but I need some help from you guys.
Printable View
I'm trying to do it, I've made OK progress, but I need some help from you guys.
so, say you have an Uzi, and you find a shotgun on the ground, you want to drop the uzi and pick up the shotgun? You could just have an Alterable value for "Which weapon is being held" and just change it depending on what weapon the player picks up. ie:
Uzi = 1
Shotgun = 2
Sword = 3
and then just make your attack command like:
Player Presses Fire 1 +
Which weapon = 2:
---->
Shoot Shotgun bullet in dir .... etc etc
What I want is that I can only have one gun at a time, so if i want the shotgun I walk near it, press space, and replace the shotgun with the uzi. But you can only pick up the sotgun lets say if your next to it,I know you could do that with blank collides with blank, switch shotgun for uzi. I hope this clears it up!
Hello? Anyone gonna help me?
HELLO?!?!?!?!?!
well, what i suggested will work - just add a command to press a button to switch rather than a collision.
and no need to reply two more times looking for an answer. Just be cool about it and people are more than likely to help out.
I was under the impression that you had received help.
But you could make it so:
+Upon pressing Space
+Player overlaps Shotgun
-Create 1 Uzi at (x,y of shotgun)
-Destroy Shotgun
-Set variable "Weapon" to (some number designated as shotgun)
FINALLY, thanks guys!