Tile - YCharacter - Set Hotbar Slot – Ylands

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "{{Ylands scripting navbox}}" to "{{Ylands editor navbox}}")
No edit summary
(3 intermediate revisions by 2 users 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'''.
 


----
----
{{Ylands editor navbox}}
{{Navbox/Ylands}}
{{DEFAULTSORT:{{#sub:{{PAGENAME}}|14}}}}
{{DEFAULTSORT:{{#sub:{{PAGENAME}}|14}}}}


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

Revision as of 12:16, 12 November 2021