SetPickupType: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 2: | Line 2: | ||
__NOTOC__ | __NOTOC__ | ||
VALUES: 0 - health 1 - armor 2 - weapon | |||
==Syntax== | ==Syntax== | ||
<syntaxhighlight lang="lua"> | <syntaxhighlight lang="lua"> | ||
int getPickupType ( pickup pickup ) | |||
</syntaxhighlight> | </syntaxhighlight> | ||
Revision as of 22:52, 20 May 2006
VALUES: 0 - health 1 - armor 2 - weapon
Syntax
int getPickupType ( pickup pickup )
Required Arguments
- argumentName: description
Optional Arguments
NOTE: When using optional arguments, you might need to supply all arguments before the one you wish to use. For more information on optional arguments, see optional arguments.
- argumentName2: descriptiona
- argumentName3: description
Returns
Returns true if blah, false otherwise.
Example
This example does...
--This line does... blabhalbalhb --abababa --This line does this... mooo