BIS fnc tridentHandleDamage: Difference between revisions
Jump to navigation
Jump to search
m (1 revision) |
m (pf) |
||
Line 1: | Line 1: | ||
{{Function|Comments= | |||
{{Function|= | |||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| arma3 | | | arma3 |Game name= | ||
|1.00| | |1.00|Game version= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | 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. | the killer won't be punsihed by negative score. Instead, Trident relationship will decrease.|Description= | ||
____________________________________________________________________________________________ | |||
| object call [[BIS_fnc_tridentHandleDamage]] |Syntax= | |||
|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]] |See also= | ||
}} | }} | ||
Revision as of 13:49, 19 June 2018
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:
- Uncategorised
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