Scripting/Squirrel/Functions/CreateExplosion: Difference between revisions

From Vice City Multiplayer
Jump to navigation Jump to search
Caution icon
This wiki is using an old backup from 2020
Some information may be old/missing
No edit summary
Line 8: Line 8:


* ''int'' '''world''' - The world ID
* ''int'' '''world''' - The world ID
* ''int'' '''type''' - The explosion type
* ''int'' '''type''' - The [[Explosion_Types|Explosion Types]]
* ''[[Scripting/Squirrel/Functions/Vector|Vector]]'' '''pos''' - The position of the explosion to be created
* ''[[Scripting/Squirrel/Functions/Vector|Vector]]'' '''pos''' - The position of the explosion to be created
* ''int'' '''playerCaused''' - the ID of the player to blame the explosion on, or -1 for no player
* ''int'' '''playerCaused''' - the ID of the player to blame the explosion on, or -1 for no player

Revision as of 20:34, 17 October 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 Types
  • Vector pos - The position of the explosion to be created
  • int playerCaused - the ID of the player to blame the explosion on, or -1 for no 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.

Notes

Related Functions