User Tools

Site Tools


unequip_item

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
unequip_item [2024/02/04 21:09] – created justinunequip_item [2024/02/22 21:12] (current) justin
Line 1: Line 1:
-======Function======+======Unequip Item======
 ---- ----
 (WIP) (WIP)
 +
 +Unequips the [[item]] currently in the specified slot of a [[character|character's]] equipment. The [[item]] will be returned to the [[character|character's]] [[inventory]].
  
 ====Signature:==== ====Signature:====
 <code python> <code python>
-function()+unequip_item(character, slot_id, count)
 </code> </code>
  
 ^Argument^Description^Type^Required^ ^Argument^Description^Type^Required^
-| | | | |+|character| |[[Entity]]|Yes| 
 +|slot_id| |[[String]]|Yes| 
 +|count| |[[Number]]|No|
  
 ====Example:==== ====Example:====
 <code bauxite> <code bauxite>
-function();+
 </code> </code>
 //Results:// //Results://
  
 <WRAP center round tip 100%> <WRAP center round tip 100%>
-Use the **Function** function to...+Use the **Unequip Item** function to...
 </WRAP> </WRAP>
  
Line 26: Line 30:
 <WRAP half column> <WRAP half column>
 ====Editor Node:==== ====Editor Node:====
-{{:function_node.png?nolink|}}+{{:unequip_item_node.png?nolink|}}
 </WRAP> </WRAP>
  
unequip_item.1707109765.txt.gz · Last modified: 2024/02/04 21:09 by justin