BIS fnc tridentHandleDamage: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) |
Lou Montana (talk | contribs) m (Text replacement - "_{10,} " to "") |
||
Line 1: | Line 1: | ||
{{Function|Comments= | {{Function|Comments= | ||
| arma3 |Game name= | | arma3 |Game name= | ||
Line 7: | Line 6: | ||
|gr1 = Sides |GROUP1= | |gr1 = Sides |GROUP1= | ||
| Register a unit as Trident unit. | | 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.|Description= | ||
| object call [[BIS_fnc_tridentHandleDamage]] |Syntax= | | object call [[BIS_fnc_tridentHandleDamage]] |Syntax= | ||
Line 21: | Line 18: | ||
| [[Boolean]] - [[true]] if event handler managing the functionality was added, false when it existed already|Return value= | | [[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= | |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 00:02, 17 January 2021
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
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