1
Fork 0
mirror of https://github.com/thegeneralist01/Scene-Manager-DevRepo synced 2026-01-11 23:50:29 +01:00
Commit graph

469 commits

Author SHA1 Message Date
Rich Dunne
3367e1a682 Restructured termination code 2020-10-04 13:48:08 -06:00
Rich Dunne
2523f8eb10 Reconfigured some conditionals in an attempt to fix nullref exceptions 2020-10-02 05:41:01 -06:00
Rich Dunne
14378211b6 CreateWaypointBlip is now a local function and not referenced elsewhere 2020-10-01 06:05:05 -06:00
Rich Dunne
6ce58a7d8e Added local function to create waypoint blip for Add As New Waypoint 2020-10-01 06:04:40 -06:00
Rich Dunne
06777aa928 Added null check in driver creation 2020-10-01 05:52:44 -06:00
Rich Dunne
4cb8c10569 Fixed waypoints being highlighted when they shouldn't be 2020-09-27 07:44:15 -06:00
Rich Dunne
cf0aa75644 Fixed an issue where dismissing a vehicle from the last waypoint of a path was not working 2020-09-26 08:38:01 -06:00
Rich Dunne
13d22d218d Added PrefersSingleInstance attribute 2020-09-25 15:43:15 -06:00
Rich Dunne
59d85e72a8 Fixed vehicle being incorrectly dismissed from path when user dismissed them from waypoint 2020-09-25 15:43:01 -06:00
Rich Dunne
35d7595f6a Added condition to display taller markers if edit path is hovered 2020-09-25 15:41:38 -06:00
Rich Dunne
e554039e03 Removed unnecessary code pertaining to dismiss from waypoint 2020-09-25 15:41:10 -06:00
Rich Dunne
a833ab63d4 Commented out vehicle dismissal debug message to stop log spam 2020-09-24 04:14:03 -06:00
Rich Dunne
eba20888e0 Renamed VehicleAndDriverNullChecks to VehicleAndDriverAreValid for better readability. 2020-09-24 04:13:35 -06:00
Rich Dunne
da1dd590f7 Added null check for vehicle in game fiber loop following unstucking a vehicle 2020-09-24 04:12:44 -06:00
Rich Dunne
6247294039 Added check in vehicle dismissal loop for valid vehicle. Added code to remove dismissed vehicles from collection. 2020-09-23 05:21:11 -06:00
Rich Dunne
bbdcab048f Changed dismissal loop timer to 1 minute 2020-09-22 14:53:28 -06:00
Rich Dunne
2922102409 Added function to loop while the path exists checking for vehicles which need to be dismissed for cleanup 2020-09-22 14:49:54 -06:00
Rich Dunne
7688768d9b Updated check when deleting vehicle to include all occupants, not just driver 2020-09-22 14:40:24 -06:00
Rich Dunne
c7ef4ab52d Added guard clauses to return/continue if collected vehicle is dismissed/skipping waypoint. Added check in LoopWhileDrivingToWaypoint to ensure vehicles are driving to the correct position if a waypoint position was updated. 2020-09-22 14:26:28 -06:00
Rich Dunne
139a1a4163 Added collectorRadius to new blip parameter when waypoint is updated to collector 2020-09-22 14:25:25 -06:00
Rich Dunne
d684d57cb2 Added loop to ensure driver is deleted before the vehicle upon dismiss from world 2020-09-22 14:24:59 -06:00
Rich Dunne
64c7afed14 Added loop to ensure driver is deleted before the vehicle is deleted upon dismiss from world 2020-09-22 14:24:07 -06:00
Rich Dunne
77bf3750bb Added condition for IsValidForCollection that the vehicle's engine is on. Added loop checking for vehicle driver after a driver has to be created 2020-09-21 11:32:08 -06:00
Rich Dunne
b3ca91e7a7 Fixed collector radius blip changing size on update when the player did not change the size in the menu. Added nullref checks for blips in updating the blip position. 2020-09-21 11:31:16 -06:00
Rich Dunne
03d18f621f Added functions to update path blips and path numbers when a single path is deleted. 2020-09-21 11:30:21 -06:00
Rich Dunne
55af040a6b Increased maximum waypoint speed from 80 to 100 2020-09-21 11:29:26 -06:00
Rich Dunne
58a09087ee Fixed collector radius blip updating position to player's position when waypoint's position is not updated 2020-09-20 13:17:37 -06:00
Rich Dunne
077854ffc1 Slightly increased distance check for getting vehicles near collector waypoints 2020-09-20 12:59:17 -06:00
Rich Dunne
5ad6e61973 Added more null ref checks. Refactored initial task assignment to take into account whether a vehicle was Directed 2020-09-20 12:58:32 -06:00
Rich Dunne
fb433612a3 Set default values for optional constructor parameters. Added null check to UpdateDrivingFlag method 2020-09-20 12:57:27 -06:00
Rich Dunne
64587347d7 Added Directed property and set all initial bool properties to false. Refactored Dismiss function. 2020-09-20 12:56:06 -06:00
Rich Dunne
4b4f596024 Added Model property and set all properties to get only 2020-09-20 12:55:07 -06:00
Rich Dunne
5fe643ea42 Refactored dismiss driver options. "From position" is replaced with "From world" 2020-09-20 12:54:09 -06:00
Rich Dunne
561b8f3a21 Fixed waypoints not updating correctly when adding a new collector waypoint 2020-09-20 12:53:16 -06:00
Rich Dunne
91e154a866 Refactored to allow barriers to be respawned if they were deleted outside of the plugin 2020-09-20 12:52:32 -06:00
Rich Dunne
ca6a272276 Added WaitForCompletion to VehicleManeuver.GoForwardWithCustomSteeringAngle and cleared tasks afterwards to try and fix vehicles rarely getting stuck with this task. 2020-09-17 16:12:12 -06:00
Rich Dunne
454918f011 Changed alpha of all markers to 100 2020-09-17 16:11:19 -06:00
Rich Dunne
53caddcc44 Added null check for removing nearest barrier 2020-09-17 16:11:08 -06:00
Rich Dunne
f2909ef6a8 Removed unnecessary else statements, changed Z-height for waypoint currently being edited. Added condition for drawing edit waypoint to ensure it's only changing the waypoint markers for the selected path. 2020-09-15 13:50:02 -06:00
Rich Dunne
2241e107de Removed GetPaths() method from PathMainMenu and updated references to paths list. 2020-09-15 13:49:10 -06:00
Rich Dunne
5ae4a13f2b Moved some variable assignments back into their build menu method. 2020-09-14 16:42:51 -06:00
Rich Dunne
9deec7d113 Updated plugin attributes 2020-09-14 15:01:53 -06:00
Rich Dunne
d29e38f25c Refactored menu item initializations, updated public methods to internal 2020-09-14 14:48:00 -06:00
Rich Dunne
d60c9ff105 Refactored menu item initializations, updated Game.LogTrivial calls to Logger.Log, updated public methods to internal 2020-09-14 14:47:37 -06:00
Rich Dunne
de3aade534 Refactored menu item initializations, updated Game.LogTrivial calls to Logger.Log, refactored SetDriveSpeedForWaypoint as local function 2020-09-14 14:47:05 -06:00
Rich Dunne
4dbe037cdd Refactored menu item initializations, updated Game.LogTrivial calls to Logger.Log 2020-09-14 14:46:43 -06:00
Rich Dunne
47a5ea5879 Set default state of EnableWaypointMarker to true, fixed DrawWaypointMarker not working correctly 2020-09-14 14:45:38 -06:00
Rich Dunne
514211dd96 Updated public methods and properties to internal, changed Game.LogTrivial calls to Logger.Log 2020-09-14 13:23:03 -06:00
Rich Dunne
c141396d64 Updated public methods and properties to internal 2020-09-14 13:20:31 -06:00
Rich Dunne
e173d9da0c Updated methods from public to internal 2020-09-14 13:19:28 -06:00