Controllable DrawBridges
Adds ability to set up(via 3den) and control drawbridges ingame.
Use with Drawbridge Composition for quick setup.
Or check it in example scenario: Tanoa Drawbridges
Or hop in to our Second Wind Dedicated Server to check it yourself in multiplayer!
In order to setup your own bridge just add this code to any object which should be used as Transfer Switch:
_bridgeName = CBridge1; _maxHeight = 42.4550; _minHeight = 21.5890; [this,_bridgeName,objNull,_maxHeight,_minHeight] call SW_fnc_controlBridge;
max and min heights are the ASL(above sea level) maximum and minimum height which the bridge should smoothly move to.
_bridgeName – name of the object which shall be moved. Supports up to two objects:
[this,_bridgeName,objNull,_maxHeight,_minHeight] call SW_fnc_controlBridge; //1 object [this,_bridgeName1,_bridgeName2,_maxHeight,_minHeight] call SW_fnc_controlBridge; //2 objects
Supports Dedicated Servers, synchs between players. For multiplayer needs to be installed on both client and server.
