On a dedicated server, if you attach something to a helicoper using setSlingLoad, and you don't call it only on the server, the cargo can never be released.
Description
Description
Details
Details
- Severity
- None
- Resolution
- Open
- Reproducibility
- Always
- Operating System
- Windows 10 x64
- Category
- Scripting
Steps To Reproduce
- Start new Eden editor session.
- In Attributes > General, under States, set the debug console to "Available for everyone".
- Place a player on the ground.
- Put an Mi-290 Taru (opfor) with AI controlled pilot in the air. Variable name: chopper
- Put an empty Rescue Boat underneath it (in the air). Variable name: boat
- In the helicopters init field type: 0 = chopper setSlingLoad objNull
- Save the mission and export to multiplayer.
- Run a dedicated server and connect to it, and load the mission.
- After spawning, seeing the helicopter in the air with the boat attached underneath, press escape to open the debug console, then type `chopper setSlingLoad objNull" and press "Exec Global". Nothing will happen.
- Close the server, open the mission in the editor and change the init field of the chopper to if (isServer) then { 0 = chopper setSlingLoad boat }
- Export, restart the dedicated server, load the mission and notice that global exec'ing 0 = chopper setSlingLoad objNull can now detach the boat.
Additional Information
There are no problems at all on listen servers either way, only on dedicated.