19.12.2013, 08:27
What is Different Between CreatePickup And AddStaticPickup ?
Sorry For This Nub Question.
Sorry For This Nub Question.
CreatePickup -> This function does exactly the same as AddStaticPickup, except it returns a pickup ID which can be used to destroy it afterwards and be tracked using OnPlayerPickUpPickup. |
AddStaticPickup -> This function adds a 'static' pickup to the game. These pickups support weapons, health, armor etc., with the ability to function without scripting them (weapons/health/armor will be given automatically). |