Pickup.Respawn

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


This Pickup class member respawns the given pickup.

Syntax

  1. bool Pickup.Respawn()

Example

This will respawn the pickup that the player just passed through.

  1.  
  2. function onPickupPickedUp( pPlayer, pPickup )
  3. {
  4. pPickup.Respawn();
  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