WorldSpawnExplosion Method

RAGE Plugin Hook Documentation

[This is preliminary documentation and is subject to change.]

Spawns an explosion at the specified position.

Namespace:  Rage
Assembly:  RagePluginHook (in RagePluginHook.dll) Version: 0.0.0.0 (0.56.1131.11510)
Syntax

public static void SpawnExplosion(
	Vector3 position,
	int explosionType,
	float radius,
	bool audible,
	bool invisible,
	float cameraShakeAmount
)

Parameters

position
Type: RageVector3
The position to spawn the explosion at.
explosionType
Type: SystemInt32
The type of explosion.
radius
Type: SystemSingle
The radius.
audible
Type: SystemBoolean
true if the explosion should be audible; otherwise, false.
invisible
Type: SystemBoolean
true if the explosion should be invisible; otherwise, false.
cameraShakeAmount
Type: SystemSingle
The amount of camera shake to apply.
See Also

Reference