BIS fnc tridentHandleDamage: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "<h3 style="display:none">Bottom Section</h3>" to "")
m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Arguments in MP|Multiplayer Arguments( \("local" or "global"\))?|Effects|Execution|Effects? in MP|Multiplayer Effects(...)
Line 1: Line 1:
{{Function|Comments=
{{Function| arma3|1.00|gr1 = Sides| Register a unit as Trident unit.
 
| arma3 |Game name=
 
|1.00|Game version=
 
|gr1 = Sides |GROUP1=
 
| Register a unit as Trident unit.
When competing sides are still friendly and the unit is killed by the competing side,
When competing sides are still friendly and the unit is killed by the competing side,
the killer won't be punsihed by negative score. Instead, Trident relationship will decrease.|Description=
the killer won't be punsihed by negative score. Instead, Trident relationship will decrease.| object call [[BIS_fnc_tridentHandleDamage]]
 
|p1= object: [[Object]]
| object call [[BIS_fnc_tridentHandleDamage]] |Syntax=
| [[Boolean]] - [[true]] if event handler managing the functionality was added, false when it existed already|x1= <code>BIS_tridentObject [[call]] [[BIS_fnc_tridentHandleDamage]];</code>
 
 
|p1= object: [[Object]] |Parameter 1=
 
 
| [[Boolean]] - [[true]] if event handler managing the functionality was added, false when it existed already|Return value=
 
|x1= <code>BIS_tridentObject [[call]] [[BIS_fnc_tridentHandleDamage]];</code>|Example 1=
 
 
| [[BIS_fnc_tridentSetRelationship]], [[BIS_fnc_tridentGetRelationship]], [[BIS_fnc_tridentExecute]] |See also=
| [[BIS_fnc_tridentSetRelationship]], [[BIS_fnc_tridentGetRelationship]], [[BIS_fnc_tridentExecute]] |See also=
}}
}}

Revision as of 11:00, 18 January 2021

Hover & click on the images for description

Description

Description:
Register a unit as Trident unit. When competing sides are still friendly and the unit is killed by the competing side, the killer won't be punsihed by negative score. Instead, Trident relationship will decrease.
Execution:
call
Groups:
Sides

Syntax

Syntax:
object call BIS_fnc_tridentHandleDamage
Parameters:
object: Object
Return Value:
Boolean - true if event handler managing the functionality was added, false when it existed already

Examples

Example 1:
BIS_tridentObject call BIS_fnc_tridentHandleDamage;

Additional Information

See also:
BIS_fnc_tridentSetRelationshipBIS_fnc_tridentGetRelationshipBIS_fnc_tridentExecute

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note