BIS fnc tridentHandleDamage: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "| arma3|1.00|" to "| arma3 |1.00 |") |
Lou Montana (talk | contribs) m (Some wiki formatting) |
||
Line 1: | Line 1: | ||
{{RV|type=function | {{RV|type=function | ||
|gr1= Sides| Register a unit as Trident unit. | |game1= arma3 | ||
|version1= 1.00 | |||
|gr1= Sides | |||
|descr= 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. | |||
|s1= object call [[BIS_fnc_tridentHandleDamage]] | |||
|p1= object: [[Object]] | |p1= object: [[Object]] | ||
|r1= [[Boolean]] - [[true]] if event handler managing the functionality was added, false when it existed already | |||
|r1= [[Boolean]] - [[true]] if event handler managing the functionality was added, [[false]] when it existed already | |||
|x1= <code>BIS_tridentObject [[call]] [[BIS_fnc_tridentHandleDamage]];</code> | |x1= <code>BIS_tridentObject [[call]] [[BIS_fnc_tridentHandleDamage]];</code> | ||
|seealso= [[BIS_fnc_tridentSetRelationship]], [[BIS_fnc_tridentGetRelationship]], [[BIS_fnc_tridentExecute]] | |seealso= [[BIS_fnc_tridentSetRelationship]], [[BIS_fnc_tridentGetRelationship]], [[BIS_fnc_tridentExecute]] | ||
}} | }} |
Revision as of 20:12, 13 June 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