onPickupPickedUp

From Liberty Unleashed Wiki
Jump to: navigation, search
Home   |   Squirrel Scripting   |   Server Functions   |   Server Events   |   Client Functions   |   Client Events

This event is called a pickup has been picked up. This fires even if a remote player picks it up.

Syntax

  1. function onPickupPickedUp( pickup )

Arguments

  • pickup - The pointer of the pickup thats been picked up

Returns

This event does not handle return values.

Example

This code will message a player when they pick up a pickup.

  1.  
  2. function onPickupPickedUp( pickup )
  3. {
  4. Message("You just picked up a pickup!");
  5. }
  6.  

Notes

The function Message was used in this example. More information is available on its corresponding page.

Related Events

Personal tools
Namespaces

Variants
Actions
Navigation
scripting
Toolbox