BIS fnc tridentHandleDamage: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) 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(...) |
Lou Montana (talk | contribs) m (Text replacement - "<code>(\[?[^\[]+\]?) *(\[\[)?(call|spawn)(\]\])? *(\[\[)?(BI(N|S)_fnc_[a-zA-Z0-9_]+)(\]\])?;?<\/code>" to "<sqf>$1 $3 $6;</sqf>") |
||
(14 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{ | {{RV|type=function | ||
|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 | |||
|x1= <sqf>BIS_tridentObject call BIS_fnc_tridentHandleDamage;</sqf> | |||
[[ | |seealso= [[BIS_fnc_tridentSetRelationship]] [[BIS_fnc_tridentGetRelationship]] [[BIS_fnc_tridentExecute]] | ||
[[ | }} |
Latest revision as of 13:23, 1 July 2022
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:
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