Skip to content
HELIX is in Early Access Preview. Some features and documentation may be non-functional or out of date.

HWeapon

Weapons are entities with firing, reloading and aiming functionalities They are fully customizable, all pieces of the weapon can be changed with immense possibility of creation

Tip

HWeapon is an Actor so it inherits all functions from Actor

Constructor#

Example
local new_weapon = Weapon(
    Vector(-900, 185, 215),
    Rotator(0, 0, 0),
    '/ShooterCore/Weapons/Pistol/Roger/B_WeaponActor_Roger.B_WeaponActor_Roger_C',
    CollisionType.Normal,
    true
)
Type Name Default Description
Vector location
Rotator rotation
[SkeletalMesh Reference] asset
CollisionType collision_type CollisionType.Normal
boolean gravity_enabled true

Functions#

Example