GetProjectileType: Difference between revisions
Jump to navigation
Jump to search
(New page: __NOTOC__ {{Client function}} This function creates a projectile of the specified type on the specified coordinates. ==Syntax== <syntaxhighlight lang="lua"> int getProjectileType ( projectile theProject...) |
mNo edit summary |
||
Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
{{Client function}} | {{Client function}} | ||
This function | This function returns the type of the specified projectile. | ||
==Syntax== | ==Syntax== |
Revision as of 18:45, 5 May 2009
This function returns the type of the specified projectile.
Syntax
int getProjectileType ( projectile theProjectile )
Required Arguments
- theProjectile: The projectile element which type you want to retrieve.
Returns
Returns an integer over the type of the projectile or false if invalid arguments were passed.
ID | Name/Description |
---|---|
16 | Grenade |
17 | Tear Gas Grenade |
18 | Molotov |
19 | Rocket (simple) |
20 | Rocket (heat seeking) |
21 | Air Bomb |
39 | Satchel Charge |
58 | Hydra flare |
Example
--TODO
See also
- createProjectile
- getProjectileCounter
- getProjectileCreator
- getProjectileForce
- getProjectileTarget
- getProjectileType
- setProjectileCounter
- Shared
- detonateSatchels