Worst-case scenario: the UEd Goblin wipes the map and burns down your house.
Legacy:How UT Weapons Work/Picking Up A Weapon
From Unreal Wiki, The Unreal Engine Documentation Site
For now just a list of function calls:
(let's see how inventive your browser is with multiple bullet lists... ;))
- Inventory (UT).Pickup.Touch
- Inventory (UT).Pickup.ValidTouch
- GameInfo (UT).PickupQuery
- Mutator.HandlePickupQuery → recursively called for all mutators
- Inventory (UT).HandlePickupQuery → recursively called for the player's inventory items
- GameInfo (UT).PickupQuery
- Weapon (UT).SpawnCopy
- Inventory (UT).GiveTo
- TournamentWeapon.BecomeItem
- Pawn (UT).AddInventory
- (weapon goes to state 'Idle2')
- Weapon (UT).GiveAmmo
- Weapon (UT).SetSwitchPriority
- Weapon (UT).WeaponSet (if player's bNeverSwitchOnPickup is False) → compares player's weapon with this one and switches to this weapon if it's better
- Inventory (UT).GiveTo
- Inventory (UT).Pickup.ValidTouch
To be cleaned up...