ExplosionCreateΒΆ

Spawns an explosion.

Arguments:

Info (ExplosionInfo)
The properties of the explosion to be spawned. You can use rfg.GetExplosionInfo to get one of the games explosion presets, or iterate the preset list as shown in the explosion examples.
Position (Vector)
The position to spawn the explosion in.

Alternative:

Info (ExplosionInfo
The properties of the explosion to be spawned. You can use rfg.GetExplosionInfo to get one of the games explosion presets, or iterate the preset list as shown in the explosion examples.
x (float)
The x position to spawn the explosion in.
y (float)
The y position to spawn the explosion in.
z (float)
The z position to spawn the explosion in.

Alternative:

Info (ExplosionInfo)
The properties of the explosion to be spawned.
Source (Object)
The source of the explosion.
Owner (Object)
The owner of the explosion.
Position (Vector)
The position to spawn the explosion in.
Orientation (Matrix)
The orientation to spawn the explosion at.
Direction (Vector)
The direction the explosion should point in.

Returns:

  • None