How to choose different weapons: For Tgf, mmf and cnc!

The stuff you need:
A character without weapons in he's hands, bullets for all the weapons (can use the same) Weapons (2 or more)

The guy just need to have the original platform movement.

What you have to do (pay attention):

You need to have the action spot of the character at the hands!
And you have to have the hot spot of the gun at the handle (where you hold)

Now you make a counter! (in this article the counter's name is "counter 1")

You make this: When number "1" is pressed: Set counter 1 to 1.
And when number "2" is pressed: set counter 1 to 2.
Then you make this: Counter 1 is 1: Pistol set position to the character at 0,0 (action spot)
and machinegun (second weapon) set position "out of the play area)

After that, make this: Always pistol set direction to dir "character" (to do this you press: set direction: 1+1 (in the corner) then EDIT, then retrieve data from an object, right click on character and then animation, current direction value) (then ok)
You do the same thing with the machinegun (second weapon)
Then you do this: Counter 1 is 2: Machinegun set position at 0,0 relative to character (action spot) and the pistol have to set position "out of the play area"

Now you can have two weapons at the same time!

How to have better shooting:

Character is facing "left direction" = Set inital flag 1 off.
Character is facing "right direction" = Set
inital flag 1 on.

Then you do this: Fire key is pressed + inital flag 1 of character is on: Weapon shoot bullet at the right.

And fire key is pressed + inital flag 1 of character is off: Weapon shoot bullet at the left!
If you have different bullets, you have to do this:

Character is facing "left direction" = Set inital flag 1 off + counter 1 is 1.
Character is facing "right direction" = Set
inital flag 1 on + counter 1 is 1.
Do the same with the machinegun but with the counter changed to 2. (and you have to shoot the different bullet)


If you would like to pick up weapons too, you do the same, but this is the extra:
Collisons between the character and the picked up weapon: Pick up weapon=destroy and character have to set value a, b or c to 1. (note that these weapons have to have each different values)

Complicated? I think so!
It is easier to do it without reading! (even i do not understand this!)
CARRY ON THEN! TUTORITAL OUT SOON!