Script:specialfx torch: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
mNo edit summary |
||
Line 4: | Line 4: | ||
|intro=If the caller is currently equipped as a torch by the [[player]] then this command is equivalent to {{Command|specialfx torchoff}} and the entity is unequipped and doused. Otherwise it is lit and equipped, unequipping and extinguishing any other equipped torch in the process. For item stacks only one item of the stack is equipped. | |intro=If the caller is currently equipped as a torch by the [[player]] then this command is equivalent to {{Command|specialfx torchoff}} and the entity is unequipped and doused. Otherwise it is lit and equipped, unequipping and extinguishing any other equipped torch in the process. For item stacks only one item of the stack is equipped. | ||
}} | }} | ||
[[Category:Script commands linking entities]] |
Latest revision as of 16:39, 13 November 2022
The specialfx torch
script command is used to equip or unequip the caller as a torch for an item. If the caller is currently equipped as a torch by the player then this command is equivalent to specialfx torchoff
and the entity is unequipped and doused. Otherwise it is lit and equipped, unequipping and extinguishing any other equipped torch in the process. For item stacks only one item of the stack is equipped.
Usage
specialfx torch
Context: Items