Scripting/Squirrel/Functions/Pickup.Timer: 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 "== Syntax == <pre>Pickup.Timer = value;</pre> == Arguments == * == Return value == Time to pickup re-appear == Example == <pre> function onPickupPickedUp( player, pickup )...") |
(No difference)
|
Revision as of 13:51, 15 August 2016
Syntax
Pickup.Timer = value;
Arguments
Return value
Time to pickup re-appear
Example
function onPickupPickedUp( player, pickup ) { if( pickup.ID == 200 ) { pickup.Timer = 10000; MessagePlayer("This pickup will take 10 seconds to appear again."); } }