[quote:176mworc]WOW just looking at the event sheet for the switch between guns is making my head spin. their has to be a " beginners" guide to this?
Yeah, it's a bit tricky because we are picking different gun objects there. Read some tutorials on objects, instances and picking, for example "Picking/selecting instance(s)" section in the FAQ. Understanding what instances are and how they are picked is probably the most important thing in C2.
Here is what happens in that event:
Imagine player is holding Automatic rifle and finds Shotgun.
1. On Player collision with Shotgun - the system picks Shotgun instance of Gun sprite. We save Shotgun's UID (unique number of this instance of Gun).
2. Then we pick all guns on the layout and unpin them all from the player. We actually need to pick and unpin only the Automatic gun player is still holding, but it's easier to just pick all guns and unpin them all.
3. Then we pick the new gun - Shotgun by its UID (which we saved earlier). And pin it to the player.
note: the word to pick I used here means to select instance(s) in C2, not "to take it off the ground"