Description
RESpect - The Effective Calculation Process.
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
Returns: - "SET": Array with zero respect values (if Object is passed as argument, 1 is on place of object's faction)
- "ADD": unit's respect values
- "MODIFY": modified respect value
- "KILLED": modified town respect value