Fandom

武装突袭 Wiki

BIS_fnc_respect

简体 | 繁體

4,827个页面创建
于此维基上
添加新页面
评论0 分享

您使用了广告屏蔽软件!


Wikia通过广告运营为用户提供免费的服务。我们对用户通过嵌入广告屏蔽软件访问网站进行了使用调整。

如果您使用了广告屏蔽软件,将无法使用我们的服务。请您移除广告屏蔽软件,以确保页面正常加载。

  

Click on the images for descriptions

Introduced in

Game:
Arma 2
Version:
1.00

Description

Description:

/*
	File: RESTECP

	Description:
	RESpect - The Effective Calculation Process.

	Parameter(s):
	_this select 0: String - Mode


	* SET - set respect default values
		 o _this select 1: Nothing or Object
		 o Returned value: Array with zero respect values (if Object is passed as argument, 1 is on place of object's faction).
	* ADD - add respect values depending on global town respect
		 o _this select 1: Object - Unit to which is given respect from assigned town with random difference defined in third argument.
		 o _this select 2: Number - Range of random difference.
		 o Returned value: Unit's respect values. 
	* MODIFY - change givern respect value
		 o _this select 1: Object - Unit of which respect value will be changed.
		 o _this select 2: String - Faction of which respect will be changed.
		 o _this select 3: String - Code which defines formula for change (current respect value is stored in variable _r) - e.g. "_r / 2"
		 o Returned value: Modified respect value. 
	* KILLED - Modify global town respect after civilian has been killed.
		 o _this select 1: Object - Units's killer
		 o _this select 2: Object - Town logic
		 o _this select 3: Number - Optional - change coeficient
		 o Returned value: Modified town respect value. 

*/
(Placeholder description extracted from the function header by BIS_fnc_exportFunctionsToWiki)

Example 1:</dt>
Example needed</dd>
See also:</dt>

See also needed</dd>

Notes

Only post proven facts here. Report bugs on the feedback tracker. Use the talk page or the forums for discussions.
Add New Note | How To

Notes

Bottom Section

更多维基

随机维基