Fandom

武装突袭 Wiki

BIS_fnc_bleedTickets

简体 | 繁體

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

您使用了广告屏蔽软件!


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

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

Introduced with Arma 3 version 1.10
  

Click on the images for descriptions

Introduced in

Game:
Arma 3
Version:
1.10

Description

Description:
Function that handles bleeding ticket system. Tickets are set beforehand using BIS_fnc_respawnTickets.

Syntax

Syntax:
[[WEST,EAST,RESISTANCE,CIVILIAN], 0.5, 3, 5] call BIS_fnc_bleedTickets;
Parameters:
Array - Array of sides that should be affected by bleed tickets. Optional parameter, default is all sides.

Number - Dominance ratio, values from 0 to 1. Determines how much of a sector a side must hold for bleeding tickets to start. Optional parameter, default is 0.5 (ie half a sector).

Number - Amount of tickets bled every step. Optional parameter, default value 3.

Number - Delay in seconds between every bleeding step. Optional parameter, default value 5.
Return Value:
Boolean

Examples

Example 1:
[] call BIS_fnc_bleedTickets; // Uses all default values to start the system.

Example 2:
[[WEST,EAST], 1, 1, 10] call BIS_fnc_bleedTickets; // Starts the system with WEST and EAST involved, bleeding one ticket every ten seconds if one side holds the whole sector.

Additional Information

Execution:
call
Multiplayer:
Server-side execution only.
See also:

BIS_fnc_addScriptedEventHandler

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

Posted on September 29, 2014 - 19:58 (UTC)
Tryteyker-
The function calls on the scripted eventhandler (see BIS_fnc_addScriptedEventHandler) "dominantSideChanged" everytime a sector changes dominant side (this again depending on the value given to the function).

更多维基

随机维基