Added TaskInvoker.StartVehicleMission(), TaskInvoker.StartHeliMission(), TaskInvoker.StartPlaneMission(), and TaskInvoker.StartBoatMission(), Vehicle.GetActiveMissionType() methods, VehicleMissionType, BoatMissionFlags, and HeliMissionFlags enums.Added missing values to IntersectFlags and old incorrect value as obsolete.Use ShapeTest.StartTestCapsule() instead. Made World.RaycastCapsule() as obsolete because the result may not be made in the same frame you call the method despite START_SHAPE_TEST_CAPSULE asynchronous.Added ShapeTest class, ShapeTestHandle and ShapeTestResult structs, and ShapeTestStatus and ShapeTestOptions.Compiled scripts do not take effect since enums are embedded as constants when directly used. NativeHashes enums are updated (v3 API only) as some leaked source revealed all the exact native function names that exist in.
Note that Script.Yield() and Script.Wait() are not available and instead throw an exception when NoScriptThread is set to true (even via some scripting API such as World.CreateVehicle() without having the model loaded in advance). You can now run scripts in the main thread rather than a decicated thread by setting NoScriptThread of ScriptAttributes to true.