WorldClass.server_onExplosion

Called when an explosion occurs in this world.

Kind: Callback

Environments: Game

Game

Callback side: Server

WorldClass:server_onExplosion( center, destructionLevel, damage )

Open the full Game reference

Parameters:

Name Type Description
self table The class instance.
center Vec3 The center of the explosion.
destructionLevel integer The level of destruction done by this explosion. Corresponds to the 'durability' rating of a Shape.
damage integer The damage value of the explosion.