Weapon

Weapon

Items
Component
Combine:
Formulable
Buffable

Properties

Name Type Description Script Name
Damage Int \ Damage
Attack Range Float Attack Range AttackRange
Attack Interval Float Attack Interval AttackInterval
Ammo Mag Size Int Bullets in the magazine AmmoMagSize
Initial Mag Count Int \ InitialMagCount
Armor Penetration Float \ ArmorPenetration
Full Damage Distance Float Distance for max. damage FullDamageDistance
Min. Damage Distance Float Distance for min. damage MinDamageDistance
Min. Damage Int \ MinDamage
Scatter Threshold Float \ ScatterThreshold
Max Scatter Ratio Float The value at which bullet spread begins MaxScatterRatio
Weapon ID Item ID Type Read Only
The item ID of the weapon
ItemID
Attack Interval (s) Float \ FiringInterval
Owner Player Read Only
The player that owns this entity
Owner
Is Consume Ammo Bool \ IsConsumeAmmo
Akimbo Type Dual-Wield Weapon Type \ DoubleGunType
Armor Penetration Factor Float \ ArmorPenetrationFactor
Player Speed Factor Float \ PlayerSpeedFactor
Body Damage Factor Float \ BodyDamageFactor
Head Damage Factor Float Headshot DMG ratio HeadDamageFactor
Limb Damage Factor Float \ LimbDamageFactor
Other Damage Factor Float \ OtherDamageFactor
Visible On Back Bool \ VisibleOnBack
Knockdown Damage Bonus Int \ KnockdownDamageBonus
Ammo per Shot Int \ AmmoPerShot
Reload Speed Factor Float Reload Speed (Basic Speed x Multiplier) ReloadSpeedFactor
Current Ammo Int The remaining ammo count CurrentAmmo
Skin ID Weapon Skin ID Collection
The ID of the weapon skin
SkinID
Prioritize Player Configuration Bool Collection
When prioritized, the attributes of the player’s weapon will replace the weapon’s original attributes
OverloadByPlayerConfiguration
Enable Skin Attributes Bool When written into the weapon attributes, the weapon’s basic statistics will be affected by the weapon skin EnableSkinAttributes
Scatter Increase Speed Float Speed of spread increase (0.1 = The crosshair enlarges 10% for every one burst increase) ScatterIncreaseSpeed
Scatter Recover Speed Float Speed of spread recovery ScatterRecoverSpeed
Player Speed Factor While Firing Float Impact of movement speed while firing PlayerSpeedFactorWhileFiring
Scatter Multiplier While Moving Float \ ScatterMultiplierWhileMoving
Weapon Type Weapon Type Read Only
Weapon Type
WeaponType
Ammo Type Ammo Type Read Only
Ammo Type
AmmoType
Fire Type Fire Type The firing type FireType
Is Single Shot Bool If it is single-shot or not IsSingleShot
Is Silenced Bool If it is silenced or not IsSilence
ADS Sensitivity Multiplier Float The movement speed while aiming down sight SpeedWhileAiming

Event

Name Description
On Bullet Hit Triggered when the bullet hits the target
On Weapon Be Equiped Triggered when a weapon is equipped by the player
On Weapon Eliminate Triggered when a unit is killed using this weapon
On Weapon Deal Damage Triggered when this weapon deals damage to a unit.
On Reload Triggered when the weapon changes bullets
On Weapon Stop Firing Triggered when the weapon stops firing
On Fire Triggered when the weapon is fired