logan83 11 Posted September 14, 2016 Just this, somebody know how can add electric wires from one electric tower to another??? im using "Land_HighVoltageTower_F" thanks guys :) Share this post Link to post Share on other sites
HallyG 239 Posted September 14, 2016 Just this, somebody know how can add electric wires from one electric tower to another??? im using "Land_HighVoltageTower_F" thanks guys :) You could try using drawLine3D. I know people have used it to draw tripwires before. Or maybe even ropeCreate. 1 Share this post Link to post Share on other sites
logan83 11 Posted September 14, 2016 ok ill try with these commands thank u hallyg ;) Share this post Link to post Share on other sites
HallyG 239 Posted September 14, 2016 ok ill try with these commands thank u hallyg ;) Here's something I came up with quickly- put this in your debug console: if (isNil {tower1} && isNil {tower2}) then { private _pos = position player; tower1 = createVehicle ["Land_HighVoltageTower_F", _pos getPos [10, 45], [], 0, "NONE"]; tower2 = createVehicle ["Land_HighVoltageTower_F", _pos getPos [30, 45], [], 0, "NONE"]; tower1 setDir (45+90); tower2 setDir (45+90); }; addMissionEventHandler ["Draw3D", { { drawLine3D [ tower1 modelToWorld (_x select 0), tower2 modelToWorld (_x select 1), [0, 0, 0, 1] ]; } forEach [ [[-20.0244,2.04932,6.86666], [20.0244,2.04932,6.86666]], [[-20.0244,-2.04932,6.86666], [20.0244,-2.04932,6.86666]] ]; }]; The arrays are positions relative to the tower -format [WIRE START, WIRE END]. Add more arrays to add more wires. 1 Share this post Link to post Share on other sites
logan83 11 Posted September 14, 2016 Great, you avoided me many headaches dude!! Thanks!! Share this post Link to post Share on other sites
killzone_kid 1326 Posted September 14, 2016 There are plenty of wire objects in the game, why draw them? Land_PowerWireBig_direct_F Land_PowerWireBig_direct_short_F Land_PowerWireBig_end_F Land_PowerWireBig_left_F Land_PowerWireBig_right_F Land_PowerWireSmall_damaged_F Land_PowerWireSmall_direct_F Land_PowerWireSmall_Left_F Land_PowerWireSmall_Right_F Land_HighVoltageColumnWire_Fhttps://community.bistudio.com/wiki/createVehicle/vehicles 3 Share this post Link to post Share on other sites