HWeapon
/// 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