Tile - YCharacter - Set Hotbar Slot – Ylands

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "{{Ylands editor navbox}}" to "{{Navbox/Ylands}}")
No edit summary
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
[[Image:Character hotbar slot.png]]
<!---
*Sets selected '''item''' to hotbar for target '''character''' on defined '''slot''' position.
THIS PAGE WAS GENERATED AUTOMATICALLY; DO NOT EDIT IT, OTHERWISE YOUR CHANGES WILL BE LOST DURING FUTURE UPDATE.
-->
== Set Hotbar Slot(Player, Slot, Item) ==
 
[[File:YlandsTile-626.png]]
 
<pre>setHotbarSlot(slot: number, item: YEntity): void;</pre>
=== Parameters ===
 
==== slot ====
 
Target hotbar slot
 
==== item ====
 
Item to equip
 
=== Availability ===
 
[[Ylands:Tile Availability - Server|Server]]
 
=== Description ===
 
Allows to equip an '''item''' to selected character '''hotbar slot'''.
 


----
----
Line 7: Line 31:


[[Category: Instructions]]
[[Category: Instructions]]
[[Category: Ylands 0.13]]

Revision as of 12:16, 12 November 2021