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

82 commits

Author SHA1 Message Date
Rich Dunne
1788264977 Updated marker position to be player's mouse position 2020-10-23 06:24:30 -06:00
Rich Dunne
adf40c25ec Lines are now only drawn between waypoint markers under the same conditions that waypoint markers are drawn 2020-10-23 06:23:50 -06:00
Rich Dunne
0af97e2b2d Added check for driver's current vehicle when releasing from Stop waypoint in case the ped is not in a vehicle. 2020-10-23 06:22:52 -06:00
Rich Dunne
68b2fc46b7 Re-ordered IsValidForCollection check for possible optimization 2020-10-19 06:12:40 -06:00
Rich Dunne
ead8b3b759 Moved waypoint collection code to Path object 2020-10-18 19:38:49 -06:00
Rich Dunne
cda8c31f43 Waypoint object now handles vehicle collection. 2020-10-17 07:12:18 -06:00
Rich Dunne
072d19d643 Path object now has it's own list of collected vehicles. 2020-10-17 07:11:59 -06:00
Rich Dunne
066395666c Refactored for new DismissOption and Path object now handling lists of collected vehicles 2020-10-17 07:11:28 -06:00
Rich Dunne
7ee307f8e6 Commented out unnecessary logging for release 2020-10-15 14:52:50 -06:00
Rich Dunne
080701b0b1 Removed DismissOption.FromDirect 2020-10-11 15:01:32 -06:00
Rich Dunne
57a65e9031 Fixed blip colors not updating correctly when a waypoint is updated. Fixed 3D waypoints not drawing when the setting is disabled then re-enabled. Fixed a crash when blip setting is disabled then re-enabled. 2020-10-11 14:59:46 -06:00
Rich Dunne
69cf4a8cd3 Adjusted driving style flags. Updated references to driving flag property 2020-10-10 20:09:47 -06:00
Rich Dunne
5ddcf3aead Added DismissOption.FromPlayer condition 2020-10-10 20:09:23 -06:00
Rich Dunne
d36c7fb012 Refactored variable/object references to reflect changes in path creation/edit waypoint menus. 2020-10-10 15:52:48 -06:00
Rich Dunne
b760192024 Drivers now block permanent events upon collection 2020-10-10 07:31:47 -06:00
Rich Dunne
a68de1d56a Fixed vehicles being dismissed prematurely when directed from one path to another. 2020-10-10 07:29:39 -06:00
Rich Dunne
dcbf52c6bd Added SetPersistence method to set vehicle and driver persistence when a vehicle is collected. 2020-10-08 05:55:15 -06:00
Rich Dunne
159f7d28a3 Refactored Dismiss function to use local functions for each type of dismissal 2020-10-07 05:01:00 -06:00
Rich Dunne
5686363cb6 Fixed speed zones being added on non-collector waypoints. Fixed speed zone being created at the player's position instead of the waypoint's position. Added function to remove waypoint blips and speed zone. 2020-10-05 06:12:57 -06:00
Rich Dunne
0da63a655a Adjusted distance value for collection and dismissal of vehicles 2020-10-05 05:22:52 -06:00
Rich Dunne
0a2ef225ef Added condition to increase path marker height when directing a driver 2020-10-04 15:31:06 -06:00
Rich Dunne
5d8256b53c Commented debug message for vehicle dismissal 2020-10-04 15:29:20 -06:00
Rich Dunne
5f0fb16160 Removed dead code 2020-10-04 14:49:06 -06:00
Rich Dunne
70b0adbf8e Commented out potentially useless code checking vehicle's distance to nearest collector upon dismissal. 2020-10-04 13:53:31 -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
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
da1dd590f7 Added null check for vehicle in game fiber loop following unstucking a vehicle 2020-09-24 04:12:44 -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
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
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
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
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
454918f011 Changed alpha of all markers to 100 2020-09-17 16:11:19 -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
47a5ea5879 Set default state of EnableWaypointMarker to true, fixed DrawWaypointMarker not working correctly 2020-09-14 14:45:38 -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
Rich Dunne
7aedb19090 Removed unnecessary code and updated references. 2020-09-14 12:23:48 -06:00
Rich Dunne
02a603ad15 Removed unnecessary code and updated references. 2020-09-14 12:15:34 -06:00
Rich Dunne
8d52f31ea2 Changed Game.LogTrivial reference to Logger.Log 2020-09-14 12:13:41 -06:00
Rich Dunne
eb52aee317 Removed unnecessary code 2020-09-14 12:13:01 -06:00
Rich Dunne
480ef8975f Removed unncessary code, updated references. 2020-09-14 12:02:20 -06:00
Rich Dunne
8c3752a483 Adjusted distance check to nearest waypoint when dismissed. 2020-09-13 04:49:52 -06:00
Rich Dunne
d7fd0c5ee4 Refactored how waypoint marker is drawn. 2020-09-13 03:00:52 -06:00
Rich Dunne
435fce3c15 Added DrawLinesBetweenWaypoints method. 2020-09-13 03:00:07 -06:00