Back to ACE

ACE.MakePrebuiltExplosive

S

Part of ACE namespace

function ACE.MakePrebuiltExplosive(Owner, class, Pos, Angle)
View on GitHub|lua/entities/ace_explosive_prebuilt/init.lua:30-75
👁️ 0 viewsUpdated 1 month ago

Description

Generic spawn used by every prebuilt variant. The variant's class supplies the model + filler fraction through its ENT table (read off the created entity), and we read the model's REAL physics volume at its natural size - no model scaling on these props.

Parameters

NameTypeDescription
Ownerany
classany
Posany
Angleany

Returns

No return values documented.

Examples

No examples available.

Used In

No usages found in the codebase.