Scripting/Squirrel/Functions/CreateExplosion: 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 "This function will create an explosion at the given location. == Syntax == <pre>CreateExplosion( world, type, pos, playerCaused, onGround )</pre> == Arguments == * ''int''...") |
No edit summary |
||
Line 9: | Line 9: | ||
* ''int'' '''world''' - The world ID | * ''int'' '''world''' - The world ID | ||
* ''int'' '''type''' - The explosion type | * ''int'' '''type''' - The explosion type | ||
* ''Vector'' '''pos''' - The position of the explosion to be created | * ''[[Scripting/Squirrel/Functions/Vector]]'' '''pos''' - The position of the explosion to be created | ||
* ''int'' '''playerCaused''' - Was the explosion caused by a player? | * ''int'' '''playerCaused''' - Was the explosion caused by a player? | ||
* ''bool'' '''onGround''' - To be added | * ''bool'' '''onGround''' - To be added |
Revision as of 22:15, 2 February 2014
This function will create an explosion at the given location.
Syntax
CreateExplosion( world, type, pos, playerCaused, onGround )
Arguments
- int world - The world ID
- int type - The explosion type
- Scripting/Squirrel/Functions/Vector pos - The position of the explosion to be created
- int playerCaused - Was the explosion caused by a player?
- bool onGround - To be added
Example
This page needs an example. We will try our best to complete the wiki as soon as possible.