OnPickupRespawn: Difference between revisions
Jump to navigation
Jump to search
This wiki is using an old backup from 2020
Some information may be old/missing
(Created page with "This event is called when a pickup is respawned. == Syntax == <pre>onPickupRespawn( pickup )</pre> == Arguments == * ''CPickup'' '''pickup''' - The pickup instance, for the...") |
No edit summary |
||
Line 11: | Line 11: | ||
print("Pickup (" + pickup.ID + ") respawned!"); | print("Pickup (" + pickup.ID + ") respawned!"); | ||
}</pre> | }</pre> | ||
== Related Functions == | |||
{{Scripting/Squirrel/Events/Pickup_Events}} | |||
[[Category:Scripting/Squirrel/Events/Pickup_Events]] |
Latest revision as of 22:12, 30 January 2017
This event is called when a pickup is respawned.
Syntax
onPickupRespawn( pickup )
Arguments
- CPickup pickup - The pickup instance, for the functions list, see Pickup functions
Example
function onPickupRespawn( pickup ){ print("Pickup (" + pickup.ID + ") respawned!"); }
Related Functions
- onPickupClaimPicked( player, pickup )
- onPickupPickedUp( player, pickup )
- onPickupRespawn( pickup )