CreateOwnedExplosion: Difference between revisions

From RAGE Multiplayer Wiki
(Created page with "Creates an explosion on a specific location where the source is the player passed. {{CSharpContainer| {{#tag:syntaxhighlight|void {{Template:CSharp_Serverside_namespace}}Exp...")
 
No edit summary
 
Line 3: Line 3:


{{CSharpContainer|
{{CSharpContainer|
{{#tag:syntaxhighlight|void {{Template:CSharp_Serverside_namespace}}Explosion.CreateExplosion(Client owner, ExplosionType explosionType, Vector3 position, float damageScale = 1, uint dimension {{Template:CSharp_Serverside_namespace}}.GlobalDimension);|lang=csharp}}
{{#tag:syntaxhighlight|void {{Template:CSharp_Serverside_namespace}}Explosion.CreateOwnedExplosion(Client owner, ExplosionType explosionType, Vector3 position, float damageScale = 1, uint dimension {{Template:CSharp_Serverside_namespace}}.GlobalDimension);|lang=csharp}}


{{Parameters}}
{{Parameters}}

Latest revision as of 09:25, 30 November 2019

Creates an explosion on a specific location where the source is the player passed.


C# Syntax

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

Parameters

  • owner: parameter input should be in Client type
  • 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...