Tile - YWeapon - Set Damage Type – 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:Get-set item damage.png]]
<!---
*Gets/sets various '''damage''' properties of target '''entity'''.
THIS PAGE WAS GENERATED AUTOMATICALLY; DO NOT EDIT IT, OTHERWISE YOUR CHANGES WILL BE LOST DURING FUTURE UPDATE.
**'''Minimal''' damage output value of target entity.
-->
**'''Maximal''' damage output value of target entity.
== Set Damage Type(Entity, Value) ==
**'''Type''' of damage output of target entity.
 
[[File:YlandsTile-1055.png]]
 
<pre>static setDamageType(target: YEntity, value: YDamageType): void;</pre>
=== Parameters ===
 
==== target ====
 
Target entity (weapon)
 
==== value ====
 
=== Availability ===
 
[[Ylands:Tile Availability - Server|Server]]
 
=== Description ===
 
Allows to set '''damage type''' of target entity.


=Note=
*Only works on carnivore animals, weapons and characters.


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


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

Revision as of 12:16, 12 November 2021