DetonateSatchels: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 32: | Line 32: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
</section> | </section> | ||
==See also== | |||
{{Client projectile functions}} |
Revision as of 09:09, 8 July 2011
This function can be used to detonate a players satchels.
This function is available from version 1.1 onwards.
Syntax
Click to collapse [-]
Clientbool detonateSatchels ( )
Click to collapse [-]
Serverbool detonateSatchels ( element Player )
Returns
Returns true if successful, false otherwise.
Example
The below example allows a player to detonate any of their placed satchels via the command /blowsatchels
Click to collapse [-]
Clientfunction blowMySatchels() detonateSatchels() outputChatBox("Satchels blown!", 0, 255, 0) end addCommandHandler("blowsatchels", blowMySatchels)
See also
- createProjectile
- getProjectileCounter
- getProjectileCreator
- getProjectileForce
- getProjectileTarget
- getProjectileType
- setProjectileCounter
- Shared
- detonateSatchels