Skip to content

Melee

Examples#

local crowbar = Melee(
  Vector(-900, 185, 215),
  Rotator(0, 90, 90),
  "helix::SM_Crowbar_01",
  CollisionType.Normal,
  true,
  HandlingMode.SingleHandedMelee,
  ""
)

crowbar:SetScale(Vector(1.5, 1.5, 1.5))
crowbar:AddAnimationCharacterUse("helix::AM_Mannequin_Melee_Slash_Attack")
crowbar:SetDamageSettings(0.3, 0.5)
crowbar:SetCooldown(1.0)
crowbar:SetBaseDamage(40)

Constructors#

Tip

HELIX provides a special Particle* called helix::P_Grenade_Special which spawns different particles depending on the surface it explodes, and also if is underwater.

**This "Particle" is just a special identifier which can only be used on Grenades!*

Static Functions#

Functions#

Events#