From 46b25e88c09fba1fd4784555ac34265cd13cd77b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicol=C3=A1s=20Badano?= Date: Fri, 16 Jan 2015 18:23:07 -0300 Subject: [PATCH] respawn: fixed actions and self_actions --- addons/respawn/CfgVehicles.hpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/addons/respawn/CfgVehicles.hpp b/addons/respawn/CfgVehicles.hpp index 7264a81aed..bdf4576eb3 100644 --- a/addons/respawn/CfgVehicles.hpp +++ b/addons/respawn/CfgVehicles.hpp @@ -82,7 +82,7 @@ class CfgVehicles { displayName = "Teleport to Rallypoint"; distance = 4; condition = QUOTE(side group _player == west); - statement = QUOTE([_player, side group _player, false] call FUNC(teleportToRallypoint)); + statement = QUOTE([ARR_3(_player, side group _player, false)] call FUNC(teleportToRallypoint)); showDisabled = 1; priority = 1; }; @@ -102,7 +102,7 @@ class CfgVehicles { displayName = "Teleport to Rallypoint"; distance = 4; condition = QUOTE(side group _player == east); - statement = QUOTE([_player, side group _player, false] call FUNC(teleportToRallypoint)); + statement = QUOTE([ARR_3(_player, side group _player, false)] call FUNC(teleportToRallypoint)); showDisabled = 1; priority = 1; }; @@ -122,7 +122,7 @@ class CfgVehicles { displayName = "Teleport to Rallypoint"; distance = 4; condition = QUOTE(side group _player == independent); - statement = QUOTE([_player, side group _player, false] call FUNC(teleportToRallypoint)); + statement = QUOTE([ARR_3(_player, side group _player, false)] call FUNC(teleportToRallypoint)); showDisabled = 1; priority = 1; }; @@ -143,7 +143,7 @@ class CfgVehicles { displayName = "Teleport to Base"; distance = 4; condition = QUOTE(side group _player == west); - statement = QUOTE([_player, side group _player, true] call FUNC(teleportToRallypoint)); + statement = QUOTE([ARR_3(_player, side group _player, true)] call FUNC(teleportToRallypoint)); showDisabled = 1; priority = 1; }; @@ -163,7 +163,7 @@ class CfgVehicles { displayName = "Teleport to Base"; distance = 4; condition = QUOTE(side group _player == east); - statement = QUOTE([_player, side group _player, true] call FUNC(teleportToRallypoint)); + statement = QUOTE([ARR_3(_player, side group _player, true)] call FUNC(teleportToRallypoint)); showDisabled = 1; priority = 1; }; @@ -183,7 +183,7 @@ class CfgVehicles { displayName = "Teleport to Base"; distance = 4; condition = QUOTE(side group _player == independent); - statement = QUOTE([_player, side group _player, true] call FUNC(teleportToRallypoint)); + statement = QUOTE([ARR_3(_player, side group _player, true)] call FUNC(teleportToRallypoint)); showDisabled = 1; priority = 1; }; @@ -196,8 +196,8 @@ class CfgVehicles { class ACE_SelfActions { class ACE_MoveRallypoint { displayName = "Move Rallypoint"; - condition = QUOTE([_player, side group _player] call FUNC(canMoveRallypoint)); - statement = QUOTE([_player, side group _player] call FUNC(moveRallypoint)); + condition = QUOTE([ARR_2(_player, side group _player)] call FUNC(canMoveRallypoint)); + statement = QUOTE([ARR_2(_player, side group _player)] call FUNC(moveRallypoint)); showDisabled = 0; priority = -0.5; };