activateItem
activateItem(
authority,entity,activation):void
Asks the step to use the stack in bag slot slot, on target where
one is named, on the world authority decides outcomes on. The step
runs it: its effects on the entity, then the target, then the copy it
spends and its cooldown. A use with no effects and no target that
accepts the item does nothing and spends nothing, and so does one from
an empty slot or of an item still cooling down. A page in a room sends
inventory.commands.use instead, naming the target by its streamed id.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
authority |
Authority |
entity |
Entity |
activation |
ItemActivation |
Returns
Section titled “Returns”void