ALiVEOS / ALiVE.OS

ALiVE Open Source GPL v2
http://alivemod.com/
Other
160 stars 80 forks source link

attach waypoint to object for slingloading #784

Closed CrashDome closed 1 year ago

CrashDome commented 1 year ago

Had a weird issue with SOG DLC this past week. One day slingloading in [Player CS Transport] wasn't working anymore. Presumably after the latest update. Put together a basic test mission with no other mods: One DLC helo with editor placed waypoints and a bunch of CS TRANSPORT spawned helos. Some were DLC and some vanilla Arma 3. The editor placed waypoints for the DLC worked fine. The vanilla helos in CS TRANSPORT worked fine. The DLC one's did not. They just hovered above the object. Just threw this one line of code to attach HOOK waypoint to nearestObject on position and now all are working correctly. Not sure why but, this fix is for a 'some cases only' situation. I guess since vanilla were working fine it's not critical. If there's a more elegant solution, feel free to suggest alternative.

Thank you.

CrashDome commented 1 year ago

Nevermind. Was my own fault. Works fine as is it seems.

Cancelling this pull request