mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Cleanup
This commit is contained in:
parent
ec38c8c951
commit
f0b7b34321
@ -11,7 +11,7 @@
|
||||
* Children actions <ARRAY>
|
||||
*
|
||||
* Example:
|
||||
* _array = [target, player, [params]] call ace_interaction_fnc_addPassengersActions
|
||||
* [target, player, [params]] call ace_interaction_fnc_addPassengersActions
|
||||
*
|
||||
* Public: No
|
||||
*/
|
||||
|
@ -12,7 +12,7 @@
|
||||
* Container <ARRAY/NUMBER>
|
||||
*
|
||||
* Example:
|
||||
* _array = [_actions, "Banana", "UI\dot_ca.paa", "bananaContents"] call ace_interaction_fnc_addSelectableItem
|
||||
* [actions, "Banana", "UI\dot_ca.paa", "bananaContents"] call ace_interaction_fnc_addSelectableItem
|
||||
*
|
||||
* Public: No
|
||||
*/
|
||||
|
@ -10,7 +10,7 @@
|
||||
* Able to become leader of group <BOOL>
|
||||
*
|
||||
* Example:
|
||||
* _bool = [player, player] call ace_interaction_fnc_canBecomeLeader
|
||||
* [player, player] call ace_interaction_fnc_canBecomeLeader
|
||||
*
|
||||
* Public: No
|
||||
*/
|
||||
|
@ -9,7 +9,7 @@
|
||||
* Able to interact with civilian <BOOL>
|
||||
*
|
||||
* Example:
|
||||
* _bool = [target] call ace_interaction_fnc_canInteractWithCivilian
|
||||
* [target] call ace_interaction_fnc_canInteractWithCivilian
|
||||
*
|
||||
* Public: No
|
||||
*/
|
||||
|
@ -10,7 +10,7 @@
|
||||
* Able to join a group <BOOL>
|
||||
*
|
||||
* Example:
|
||||
* _bool = [player, target] call ace_interaction_fnc_canJoinGroup
|
||||
* [player, target] call ace_interaction_fnc_canJoinGroup
|
||||
*
|
||||
* Public: No
|
||||
*/
|
||||
|
@ -10,7 +10,7 @@
|
||||
* Able to join a team <BOOL>
|
||||
*
|
||||
* Example:
|
||||
* _bool = [player, target] call ace_interaction_fnc_canJoinTeam
|
||||
* [player, target] call ace_interaction_fnc_canJoinTeam
|
||||
*
|
||||
* Public: No
|
||||
*/
|
||||
|
@ -10,7 +10,7 @@
|
||||
* Able to tap a shoulder <BOOL>
|
||||
*
|
||||
* Example:
|
||||
* _bool = [player, target] call ace_interaction_fnc_canTapShoulder
|
||||
* [player, target] call ace_interaction_fnc_canTapShoulder
|
||||
*
|
||||
* Public: No
|
||||
*/
|
||||
|
@ -11,7 +11,7 @@
|
||||
* 1: Door Name <STRING>
|
||||
*
|
||||
* Example:
|
||||
* _array = [player, target] call ace_interaction_fnc_getDoor
|
||||
* [player, target] call ace_interaction_fnc_getDoor
|
||||
*
|
||||
* Public: No
|
||||
*/
|
||||
|
@ -9,7 +9,7 @@
|
||||
* Angle <NUMBER>
|
||||
*
|
||||
* Example:
|
||||
* _number = call ace_interaction_fnc_getSelectedButton
|
||||
* call ace_interaction_fnc_getSelectedButton
|
||||
*
|
||||
* Public: No
|
||||
*/
|
||||
|
@ -3,13 +3,13 @@
|
||||
* Return a suitable position for the action point for the current weapon
|
||||
*
|
||||
* Arguments:
|
||||
* None
|
||||
* None (uses local variable _target)
|
||||
*
|
||||
* Return value:
|
||||
* Children actions <ARRAY>
|
||||
*
|
||||
* Example:
|
||||
* _array = call ace_interaction_fnc_getWeaponPos
|
||||
* call ace_interaction_fnc_getWeaponPos
|
||||
*
|
||||
* Public: No
|
||||
*/
|
||||
|
@ -10,7 +10,7 @@
|
||||
* Vehicle in range of player <BOOL>
|
||||
*
|
||||
* Example:
|
||||
* _bool = [target, 5] call ace_interaction_fnc_isInRange
|
||||
* [target, 5] call ace_interaction_fnc_isInRange
|
||||
*
|
||||
* Public: No
|
||||
*/
|
||||
|
@ -15,7 +15,7 @@
|
||||
*/
|
||||
#include "script_component.hpp"
|
||||
|
||||
private ["_count", "_player", "_vehicle", "_dlgInteractionDialog", "_top", "_i", "", "_ctrl", "_index", "_action", "_color", "_current", "_infoText", "target"];
|
||||
private ["_count", "_player", "_vehicle", "_dlgInteractionDialog", "_top", "_i", "", "_ctrl", "_index", "_action", "_color", "_current", "_infoText", "_target"];
|
||||
|
||||
#define CLAMP(x,low,high) (if(x > high)then{high}else{if(x < low)then{low}else{x}})
|
||||
if (isNil QGVAR(MainButton)) exitWith{};
|
||||
|
@ -7,10 +7,10 @@
|
||||
* 1: Approve Button Text <STRING>
|
||||
*
|
||||
* Return value:
|
||||
* Container object <ARRAY/NUMBER>
|
||||
* Container object <NUMBER>
|
||||
*
|
||||
* Example:
|
||||
* _array = ["Select Explosive", "Place"] call ace_interaction_fnc_prepareSelectMenu
|
||||
* array = ["Select Explosive", "Place"] call ace_interaction_fnc_prepareSelectMenu
|
||||
*
|
||||
* Public: No
|
||||
*/
|
||||
|
@ -9,7 +9,7 @@
|
||||
* None
|
||||
*
|
||||
* Example:
|
||||
* _customActions call ace_interaction_fnc_sortOptionsByPriority
|
||||
* customActions call ace_interaction_fnc_sortOptionsByPriority
|
||||
*
|
||||
* Public: No
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user