activateItem
activateItem(
entity,activation):void
Asks the step to use the stack in bag slot slot, on target where
one is named. The step runs it on the server: 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. On an entity a room streams, it asks the room,
naming the target by its streamed id.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
entity |
Entity |
activation |
ItemActivation |
Returns
Section titled “Returns”void