IsPickupSpawned: Difference between revisions
Jump to navigation
Jump to search
(New page: __NOTOC__ {{Server function}} This function checks if a pickup is currently spawned (is visible and can be picked up) or not (a player picked it up recently). ==Syntax== <syntaxhighlight lang="lua"> bool...) |
m (Needs example) |
||
Line 16: | Line 16: | ||
==Example== | ==Example== | ||
<syntaxhighlight lang="lua"> | |||
--TODO | |||
</syntaxhighlight> | |||
==See Also== | ==See Also== | ||
{{Pickup functions}} | {{Pickup functions}} | ||
[[Category:Needs Example]] |
Revision as of 07:21, 19 June 2009
This function checks if a pickup is currently spawned (is visible and can be picked up) or not (a player picked it up recently).
Syntax
bool isPickupSpawned ( pickup thePickup )
Required Arguments
- thePickup: the pickup you want to check.
Returns
Returns true if the pickup is spawned, false if it's not spawned or an invalid pickup was specified.
Example
--TODO