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 edit summary |
||
Line 19: | Line 19: | ||
} | } | ||
</pre> | </pre> | ||
== Related Functions == | |||
{{Scripting/Squirrel/Functions/Pickup_Functions}} | |||
[[Category:Scripting/Squirrel/Functions/Pickup_Functions]] |
Latest revision as of 18:37, 30 January 2017
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."); } }