Tile - YItem - Set Pickable – Ylands

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
m (Text replacement - "{{DEFAULTSORT:{{#sub:{{PAGENAME}}|14}}}}" to "{{DEFAULTSORT:{{#sub:{{PAGENAME}}|7}}}}")
 
(8 intermediate revisions by 3 users not shown)
Line 1: Line 1:
[[Image:Ylands_Tile_-_Item_pickable.png]]
<!---
*Allows to '''get''' / '''set''' whenever an item can be picked up.
THIS PAGE WAS GENERATED AUTOMATICALLY; DO NOT EDIT IT, OTHERWISE YOUR CHANGES WILL BE LOST DURING FUTURE UPDATE.
*Does not work on small foliage. Use [[Ylands Tile - Set entity interactions|'''Disable Interactions''']] instead.
-->
== Set Pickable(Entity, Value) ==
 
[[File:YlandsTile-1081.png]]
 
<pre>static setPickable(target: YEntity, value: boolean): void;</pre>
=== Parameters ===
 
==== target ====
 
Target entity
 
==== value ====
 
Is pickable (bool)
 
=== Availability ===
 
[[Ylands:Tile Availability - Server|Server]]
 
=== Description ===
 
Allows to set whenever selected '''item''' can be '''picked up'''.
 
=== Notes ===
 
* Does not work on small foliage. Use '''Disable Interactions''' instead.
 


----
----
{{Ylands scripting navbox}}
{{Navbox/Ylands}}
{{DEFAULTSORT:{{#sub:{{PAGENAME}}|7}}}}
 
[[Category: Instructions]]

Latest revision as of 15:27, 24 November 2023