mirror of
https://github.com/sethduda/AdvancedSlingLoading.git
synced 2024-08-30 17:32:12 +00:00
Update sa_ropes.sqf
This commit is contained in:
parent
69d4d8c0ac
commit
9abc7341fe
72
sa_ropes.sqf
72
sa_ropes.sqf
@ -10,78 +10,6 @@ The above copyright notice and this permission notice shall be included in all c
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
*/
|
||||
|
||||
//[l1,[0,0,0],[0,0,-1]] ropeAttachTo (ropeCreate [h1, [0,0,0], 50]);
|
||||
//[l1,[0,0,0],[0,0,-1]] ropeAttachTo (ropeCreate [h2, [0,0,0], 50]);
|
||||
/*
|
||||
_bbr = boundingBoxReal c1;
|
||||
_p1 = _bbr select 0;
|
||||
_p2 = _bbr select 1;
|
||||
_x1 = (_p1 select 0);
|
||||
_y1 = (_p1 select 1);
|
||||
_z1 = (_p1 select 2);
|
||||
_x2 = (_p2 select 0);
|
||||
_y2 = (_p2 select 1);
|
||||
_z2 = (_p2 select 2);
|
||||
|
||||
_maxWidth = abs ((_p2 select 0) - (_p1 select 0));
|
||||
_maxLength = abs ((_p2 select 1) - (_p1 select 1));
|
||||
_maxHeight = abs ((_p2 select 2) - (_p1 select 2));
|
||||
*/
|
||||
//ropeCreate [h1, [0,0,-0.8], c1, [_x1/2,_y1/2,-_z2/2], 30];
|
||||
//ropeCreate [h1, [0,0,-0.8], c1, [_x2/2,_y1/2,-_z2/2], 30];
|
||||
//ropeCreate [h1, [0,0,-0.8], c1, [_x2/2,_y2/2,-_z2/2], 30];
|
||||
//ropeCreate [h1, [0,0,-0.8], c1, [_x1/2,_y2/2,-_z2/2], 30];
|
||||
|
||||
//ropeCreate [h1, [0,0,-1], 30, 30, false];
|
||||
//ropeCreate [h1, [0,0,-1], 30, 30, false];
|
||||
//ropeCreate [h1, [0,0,-1], 30, 30, false];
|
||||
//ropeCreate [h1, [0,0,-1], 30, 30, false];
|
||||
|
||||
/*
|
||||
SA_Rope_Action_Menu =
|
||||
[
|
||||
// First array: "User menu" This will be displayed under the menu, bool value: has Input Focus or not.
|
||||
// Note that as to version Arma2 1.05, if the bool value set to false, Custom Icons will not be displayed.
|
||||
["Ropes",false]
|
||||
// Syntax and semantics for following array elements:
|
||||
// ["Title_in_menu", [assigned_key], "Submenu_name", CMD, [["expression",script-string]], "isVisible", "isActive" <, optional icon path> ]
|
||||
// Title_in_menu: string that will be displayed for the player
|
||||
// Assigned_key: 0 - no key, 1 - escape key, 2 - key-1, 3 - key-2, ... , 10 - key-9, 11 - key-0, 12 and up... the whole keyboard
|
||||
// Submenu_name: User menu name string (eg "#USER:MY_SUBMENU_NAME" ), "" for script to execute.
|
||||
// CMD: (for main menu:) CMD_SEPARATOR -1; CMD_NOTHING -2; CMD_HIDE_MENU -3; CMD_BACK -4; (for custom menu:) CMD_EXECUTE -5
|
||||
// script-string: command to be executed on activation. (no arguments passed)
|
||||
// isVisible - Boolean 1 or 0 for yes or no, - or optional argument string, eg: "CursorOnGround"
|
||||
// isActive - Boolean 1 or 0 for yes or no - if item is not active, it appears gray.
|
||||
// optional icon path: The path to the texture of the cursor, that should be used on this menuitem.
|
||||
//["First", [0], "", -5, [["expression", "player sidechat ""First"" "]], "1", "1"],
|
||||
//["Second", [2], "", -5, [["expression", "player sidechat ""Second"" "]], "1", "1"],
|
||||
//["Submenu", [3], "#USER:MY_SUBMENU_inCommunication", -5, [["expression", "player sidechat ""Submenu"" "]], "1", "1"]
|
||||
];
|
||||
*/
|
||||
|
||||
/*
|
||||
500
|
||||
B_Heli_Light_01_F
|
||||
B_Heli_Light_01_armed_F
|
||||
C_Heli_Light_01_civil_F
|
||||
2000
|
||||
O_Heli_Light_02_F
|
||||
O_Heli_Light_02_unarmed_F
|
||||
O_Heli_Light_02_v2_F
|
||||
I_Heli_light_03_F
|
||||
I_Heli_light_03_unarmed_F
|
||||
4000
|
||||
B_Heli_Transport_01_F
|
||||
B_Heli_Transport_01_camo_F
|
||||
I_Heli_Transport_02_F
|
||||
10000
|
||||
B_Heli_Transport_03_F
|
||||
B_Heli_Transport_03_unarmed_F
|
||||
12000
|
||||
O_Heli_Transport_04_F
|
||||
O_Heli_Transport_04_ammo_F
|
||||
*/
|
||||
|
||||
SA_Rope_Get_Lift_Capability = {
|
||||
private ["_heli","_heliType"];
|
||||
_heli = [_this,0] call BIS_fnc_param;
|
||||
|
Loading…
Reference in New Issue
Block a user