Pickup.Remove

From Liberty Unleashed Wiki
Revision as of 17:58, 23 October 2010 by Force (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Home   |   Squirrel Scripting   |   Server Functions   |   Server Events   |   Client Functions   |   Client Events


This Pickup class member removes the given pickup.

Syntax

  1. bool pickup.Remove()

Example

This will remove the pickup that the player just collected.

  1.  
  2. function onPickupPickedUp( pPlayer, pPickup )
  3. {
  4. pPickup.Remove();
  5. return 1;
  6. }
  7.  

Notes

The event onPickupPickedUp was used in this example. More info about this in the corresponding page.

Related Functions

Personal tools
Namespaces

Variants
Actions
Navigation
scripting
Toolbox