Fandom

武装突袭 Wiki

RopeCreate

简体 | 繁體

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

您使用了广告屏蔽软件!


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

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

Introduced with Arma 3 version 1.34
  

点击图片可看到更多讯息

开始使用于

游戏:
Take On Helicopters
版本:
1.00

描述

描述:
Create a rope (PhysX rope in Arma 3).

基本句法

句法:
ropeCreate [fromObject, fromPoint, toObject, toPoint, segments, length]
参数:
[fromObject, fromPoint, toObject, toPoint, segments, length]: Array

fromObject: Object - object where rope starts and which fly behavior will be affected

fromPoint: Array or String - specifies where on the object the rope should start, either a string (name of memory point) or an array of three numbers (vector in model coordinates).

toObject: Object - object which is automatically attached to other side of rope (can be objNull, rope will stay with free end)

toPoint: Array or String - specifies where on the object the rope should finish, either a string (name of memory point) or an array of three numbers (vector in model coordinates)

segments: Number - define number of segments to be created (not used in A3)

length (Optional): Number - optional, rope length in meters
返回值:
Object

替代句法

句法:
ropeCreate [fromObject, fromPoint, length, segments, unroll]
参数:
[fromObject, fromPoint, lenght, segments, unroll]: Array

fromObject: Object - object where rope starts and which fly behavior will be affected

fromPoint: Array or String - specifies where on the object the rope should start, either a string (name of memory point) or an array of three numbers (vector in model coordinates)

length (Optional): Number - rope length

segments (Optional): Number - define number of rope segments (not used in A3)

unroll (Optional): Boolean - true if rope starts at one place and falls down unrolling itself, false to create it already in full length (default: false) (not used in A3)
返回值:
Object

范例

范例1:
myRope = ropeCreate [vehicle player, "slingload0", myCargo, [0, 0, 0], 10]; //A3 example

范例2:
myRope = ropeCreate [vehicle player, "fastrope0", 10, 10, true]; //TakeOn example

范例3:
myRope = ropeCreate [veh1, [0,0,-2], veh2, [0,0,0], 10] //A3 1.34

额外资讯

多人游戏:
-
也可以看看:

ropeDestroyropeDetachropeSetCargoMassropescanSlingLoadenableRopeAttachgetSlingLoadropeAttachedObjectsropeAttachToropeLengthropeUnwoundropeAttachedToropeAttachEnabledropeCutropeEndPositionropeUnwind

注意事项

此处撰写句法皆为可行用法. 可到官网[1]专页回报错误. 你可以使用讨论页面或是论坛来进行讨论.
新增注意事项 | 如何新增?

Notes

Bottom Section

Posted on November 8, 2014 - 14:57 (UTC)
Tajin
Doesn't work well for towing vehicles on the ground.
Their wheels don't turn freely and have a LOT of friction. You'll most likely end up flipping the vehicle over if you try to tow it.

Also note that ropes can be destroyed/cut by shooting at them.

Posted on January 4, 2015 - 03:24 (UTC)
Feint
Pay special attention to what is your fromObject and what is your toObject as this will have an impact on the physics of the rope.

For example: If you want to tow an Assault CRRC from a heavier Speedboat Minigun, attach two boats together with a rope. If you drive the Speedboat Minigun and set the CRRC as the fromObject, the rope will have almost no elasticity and the CRRC will yank around as you tow it. However, if you set the CRRC as the toObject, the rope will have more elasticity and will be a little friendlier for the CRRC when you are towing it.

Posted on July 9, 2015
Druid
Parameters segments and unroll are not supported in Arma 3. Segments are set automatically according the length of a rope.

更多维基

随机维基