Calamarain-FSUK/mrBogballe_M3W_FS2013 — pull request #8 by DeckerMMIV (2014-10-10 18:56:34+00:00)
Title: Network-events, and some refactoring of script.

Hi Calamarian,

I noticed that you used GitHub for this Bogballe M3W Spreader, after downloading it from FS-UK.
So I took the liberty to make some changes to the script, in hope the FS-UK silver status can be upgraded to gold ;-)

As you can see, there are many changes to the script files. Mainly I've removed the 3 *Event.LUA files, and made just one event object within the BogballeM3W.LUA script. Also changed the network-event message to not send booleans for increase/decrease, but the actual changed value to use. That should be more "safe" to synchronize with between server/clients.

For the plane cover, I also added a network-event so clients are now able to see the open/closed cover. - This is a boolean though, as there are only two states; visible & invisible.

Hope you can use my changes.

Best regards,
Decker_MMIV