BIS fnc respect: Difference between revisions
Jump to navigation
Jump to search
m (Text replacement - "\[\[Category\:Function Group\: Systems(\|\{\{[a-zA-Z0-9_:]+\}\})?\]\]" to "") |
Lou Montana (talk | contribs) m (Text replacement - "_{10,} " to "") |
||
Line 1: | Line 1: | ||
{{Function|Comments= | {{Function|Comments= | ||
| arma2 |Game name= | | arma2 |Game name= | ||
Line 7: | Line 6: | ||
|gr1 = Sides |GROUP1= | |gr1 = Sides |GROUP1= | ||
| RESpect - The Effective Calculation Process. |Description= | | RESpect - The Effective Calculation Process. |Description= | ||
| [mode'', param1, param2, param3''] call [[BIS_fnc_respect]] |Syntax= | | [mode'', param1, param2, param3''] call [[BIS_fnc_respect]] |Syntax= | ||
Line 36: | Line 33: | ||
* "MODIFY": modified respect value | * "MODIFY": modified respect value | ||
* "KILLED": modified town respect value |Return value= | * "KILLED": modified town respect value |Return value= | ||
|x1= <code></code> |Example 1= | |x1= <code></code> |Example 1= | ||
| [[addRating]], [[Ambient Civilians]] |See also= | | [[addRating]], [[Ambient Civilians]] |See also= |
Revision as of 23:45, 16 January 2021
Description
Syntax
- Syntax:
- [mode, param1, param2, param3] call BIS_fnc_respect
- Parameters:
- mode: String - case-sensitive, can be one of "SET", "ADD", "MODIFY", "KILLED"
- depending on mode:
- "SET" - set respect default values
- "ADD" - add respect values depending on global town respect
- "MODIFY" - change given respect value
- "KILLED" - modify global town respect after civilian has been killed
- Return Value:
Examples
- Example 1:
Additional Information
- See also:
- addRatingAmbient Civilians
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