Browsing StarfallEx's section
โ† Back to ACE
Back to StarfallEx

SFEX.prop.createComponent

S๐Ÿท๏ธ Prop

Part of StarfallEx namespace

๐Ÿ”— External
prop.createComponent(pos, ang, class, model, frozen)
View on GitHub|lua/starfall/libs_sv/prop.lua:246
๐Ÿ“‹ Has LDoc๐Ÿ‘๏ธ 0 viewsUpdated 2 months ago

Description

Creates starfall component Allowed components: starfall_hud starfall_screen

Parameters

NameTypeDescription
posVectorPosition of created component
angAngleAngle of created component
classstringClass of created component
modelstringModel of created component
frozen?booleanTrue to spawn the entity in a frozen state. Default is false.

Returns

TypeDescription
EntityComponent entity

Examples

No examples available.

Used In

No usages found in the codebase.