CreateExplosion

From RAGE Multiplayer Wiki

Creates an explosion on a specific location.


C# Syntax

void NAPI.Explosion.CreateExplosion(ExplosionType explosionType, Vector3 position, float damageScale = 1, uint dimension NAPI..GlobalDimension);

Parameters

  • explosionType: parameter input should be in ExplosionType type
  • position: parameter input should be in Vector3 type
  • damageScale: optional parameter, input should be in float type
  • dimension: optional parameter, input should be in uint type


Example

// Code here...