onPickupRespawn

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

This is called when a pickup respawns.

Syntax

  1. function onPickupRespawn( Pickup pickup )

Arguments

  • pickup - The pickup which respawned

Returns

This event does not handle return values.

Example

This example will print a message to the server console when a pickup respawns.

  1.  
  2. function onPickupRespawn( pickup )
  3. {
  4. print( "Pickup " + pickup.ID + " respawned." );
  5. return 1;
  6. }
  7.  

Notes

The functions Pickup.ID and print were used in this example. More info about them can be found in the corresponding pages.

Related Events

Personal tools
Namespaces

Variants
Actions
Navigation
scripting
Toolbox