Items

Required Module

Components & Properties

Name Description
Player Backpack The player’s backpack entity
Game entity.Equipment reset each round \
Player.Main Weapon \
Player.Is Drop on Eliminated \
Player.Disable Item Pickup \
Player.Disable Item Drop \
Player.Helmet The current helmet
Player.Vest The current vest
Player.Backpack Player’s backpack
Special Item ID Type Device
Inventory Type \
Fire Type The firing type
Weapon \
Item Container \
Dual-Wield Weapon Type Supports Akimbo
Equipment Type \
Equipment Slot Type Equipment Slot Enum
Helmet Helmet Entity
Vest Vest Entity
Mushroom \
Ammo \
Backpack Backpack Component
Grenade \
Freezing Grenade \
Flashbang An explosive device that can disorient enemy’s senses temporarily.
Smoke Grenade Generates smoke, great for screening and flanking maneuvers
Landmine A mine that can be deployed on the ground. Warning, do not step on it yourself!
Jet Shoes Shoes that allows the user to fly. Try not to run out of fuel mid air.
Double Jump Shoes Shoes made with modern technology. Allows humans to preform double-jumps.
Fold Wing Allows you to glide down from elevated terrains.
Skateboard \
Repair Kit \
Landmine Created Entity after landmine creation
Gloo Wall \
Ice Wall Created \
Hook Gun \
Swing Gun Super Hook Gun
Switch Equip Slot Switch the item slot
Gloo Maker \
Grenade Base Basic Throwable Types
Grenade Launcher Throwable
Grenade CrossBow Crossbow
Grenade HandCannon Throwables
Grenade DeIce Wall Gloo Melter Component
Attachment Attachment
Dagger (ground loot) Dagger (ground loot)
Dagger Dagger
MedKit Med Kit
Inhaler Inhaler
Horizaline Horizaline
Launch Pad Launch Pad
Launch Pad Level Object When inflated, the launch pad can be used to project a player into the air. But make sure to stay in the Safe Zone!
Social Island Snowball Let’s have a snowball fight!

Event

Name Description
On Equip Armor Triggered when equipping a helmet, body armor or backpack
On Equip Weapon Triggers when equipping a primary, secondary, or melee weapon, including when switching to fists
On Access Equipment Triggered when an item corresponding to a slot under the SwitchEquipSlot enumeration is obtained
On Switch Handheld Triggered when switching between held items, including switching to fists
On Use Consumable Triggered after item is used. Items that have use duration will trigger this event after they are used.
On Access Item Triggered when an item is obtained
On Access Weapon Triggered when a weapon entity is obtained
On Drop Weapon Triggered when the player drops a weapon
On Drop Consumable Triggered when the player drops an item other than a weapon
On Aiming Triggered when targeting a Aimable entity.
On Aimed Triggered when being aimed by a player
On Bullet Hit Triggered when the bullet hits the target
On Weapon Be Equiped Triggered when a weapon is equipped by the player
On Reload Triggered when the weapon changes bullets
On Hit By Bullet Triggered when hit by a weapon
On Picked Up Triggered when an item is picked up
On Dropped Triggered when an item is dropped
On Equiped Triggered when this equipment is equipped
On Landmine Active Triggered when the object is started after the mine is created
On Landmine Trigger Triggered when the object fires after the mine is created
On Used Triggered when this device is used
On Hook Gun Fire Triggered when the hook gun is fired
On Throwable Explode Triggered when a projectile explodes after being thrown.
On Weapon Stop Firing Triggered when the weapon stops firing
On Fire Triggered when the weapon is fired

API

Name Description
Add Item Add items to the player and return the list of items issued
Set Special Item Status Set the special item status for the player. Special items can only have one
Clear Residual Level Objects Clean up the map object residues, including death boxes, created objects, placed objects, thrown objects residues, etc.
Destroy Item Delete a certain number of items from the player
Get Item Count Get the number of specified items held by the player
Create Item In Scene Creates an item or list of items at a specified location.
Switch Weapon Switch the player’s weapon to the weapon in the specified slot
Destroy player item[Obsolete] Destroys player items (deprecated, use DeleteEquipment)
Destroy Equipment Destroys the weapon in the player’s specified slot
Set Pickup Status Sets whether the target player can pick up items
Set Drop Status Set whether the target player can drop items
Clear Backpack Clear all items in the target player’s backpack, including equipped items
Get Consumables Get the consumables in the target player’s backpack consumable column
Add Attachments Add an accessory to the weapon in the specified slot. Accessory that does not match the slot will fail to be added; matching but duplicate accessory will replace the original accessory, and the original accessory will be sent to the player’s backpack. If
Get Equipments Get the equipment in the backpack equipment column
Drop Item Make the target player drop an item