Tile - YAnimal - Set Domesticated By – 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}}}}")
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
[[Image:Get-set domestication level.png]]
<!---
*Gets/sets '''domestication level''' of target '''entity''' - horse.
THIS PAGE WAS GENERATED AUTOMATICALLY; DO NOT EDIT IT, OTHERWISE YOUR CHANGES WILL BE LOST DURING FUTURE UPDATE.
-->
== Set Domesticated By(Entity, Player) ==
 
[[File:YlandsTile-1044.png]]
 
<pre>static setDomesticatedBy(target: YEntity, player: YCharacter): void;</pre>
=== Parameters ===
 
==== target ====
 
Target animal
 
==== player ====
 
New owner
 
=== Availability ===
 
[[Ylands:Tile Availability - Server|Server]]
 
=== Description ===
 
Allows to set animal owner (player).


=Note=
*Percentage of domestication is in range '''0-100'''.


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


[[Category: Instructions]]
[[Category: Instructions]]
[[Category: Ylands 0.12]]

Latest revision as of 15:24, 24 November 2023