|
|
(9 intermediate revisions by 2 users not shown) |
Line 1: |
Line 1: |
| [[Category:Scripting Commands|ROPECREATE]] | | #REDIRECT [[ropeCreate]] |
| | |
| {{Command|Comments=
| |
| | |
| | TKOH |Game name=
| |
| |1.00|Game version=
| |
| | |
| |gr1= Ropes and Sling Loading |GROUP1=
| |
| | |
| | |
| | Creates a rope. For Arma 3 syntax see [[ropeCreate]]. |Description=
| |
| | |
| | '''ropeCreate''' [fromObject, fromPoint, toObject, toPoint, segments, length] |Syntax=
| |
| | |
| |p1=[fromObject, fromPoint, toObject, toPoint, segments, length]: [[Array]]|Parameter 1=
| |
| |p2= fromObject: [[Object]] - object where rope starts and which fly behavior will be affected |Parameter 2=
| |
| |p3= 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). |Parameter 3=
| |
| |p4= toObject: [[Object]] - object which is automatically attached to other side of rope (can be objNull, rope will stay with free end) |Parameter 4=
| |
| |p5= 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) |Parameter 5=
| |
| |p6= segments: [[Number]] - define number of segments to be created |Parameter 6=
| |
| |p7= length (Optional): [[Number]] - optional, rope length in meters |Parameter 7=
| |
| | |
| | [[Object]] |Return value=
| |
| |s2= '''ropeCreate''' [fromObject, fromPoint, length, segments, unroll] |Syntax 2=
| |
| | |
| |p21= [fromObject, fromPoint, lenght, segments, unroll]: [[Array]] |Parameter 21=
| |
| |p22= fromObject: [[Object]] - object where rope starts and which fly behavior will be affected |Parameter 22=
| |
| |p23= 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) |Parameter 23=
| |
| |p24= length (Optional): [[Number]] - rope length |Parameter 24=
| |
| |p25= segments (Optional): [[Number]] - define number of rope segments|Parameter 25=
| |
| |p26= 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) |Parameter 26=
| |
| | |
| |r2= [[Object]] |Return value 2=
| |
| | |
| |x1 = <code>myRope = [[ropeCreate_TKOH |ropeCreate]] [<nowiki/>[[vehicle]] [[player]], "fastrope0", 10, 10, [[true]]<nowiki>]</nowiki>;</code> |Example 1=
| |
| | |
| | [[ropeDestroy]], [[ropeDetach]], [[ropeSetCargoMass]] |See also=
| |
| | |
| }}
| |
| | |
| <h3 style="display:none">Notes</h3>
| |
| <dl class="command_description">
| |
| <!-- Note Section BEGIN -->
| |
| | |
| <!-- Note Section END -->
| |
| </dl>
| |
| | |
| <h3 style="display:none">Bottom Section</h3>
| |
| {{GameCategory|tkoh|Scripting Commands}}
| |
| [[Category:Take_On_Helicopters:_New_Scripting_Commands_List|{{uc:{{PAGENAME}}}}]]
| |
| | |
| | |
| <!-- CONTINUE Notes -->
| |
| | |
| <!-- DISCONTINUE Notes -->
| |