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

34 commits

Author SHA1 Message Date
Rich Dunne
e2d9c93e95 Added check for Driver's current vehicle in driving loop in case the Driver exited Vehicle at some point. Adjusted some guard clause logic and log messages. 2020-11-12 19:21:31 -07:00
Rich Dunne
f0af9b6207 Fixed a crash when a collected ped is arrested. 2020-11-08 11:08:40 -07:00
Rich Dunne
667bea553d Added a check for if the driver loses their task and reassigns it. 2020-10-25 08:40:17 -06:00
Rich Dunne
ebf8884842 Refactored AITasking into CollectedVehicle. 2020-10-24 07:46:40 -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
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
5ddcf3aead Added DismissOption.FromPlayer condition 2020-10-10 20:09:23 -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
0da63a655a Adjusted distance value for collection and dismissal of vehicles 2020-10-05 05:22:52 -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
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
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
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
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
c141396d64 Updated public methods and properties to internal 2020-09-14 13:20:31 -06:00
Rich Dunne
8d52f31ea2 Changed Game.LogTrivial reference to Logger.Log 2020-09-14 12:13:41 -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
07dcc46abb Refactored AssignPropertiesFromDirectedTask method, added Dismiss method. Added a second constructor 2020-09-13 02:59:47 -06:00
Rich Dunne
394538eb26 Refactored fields/properties for better encapsulation. Replaced int path with Path object. 2020-09-07 20:24:26 -06:00
Rich Dunne
b619e48650 Added Driver property 2020-09-03 17:50:10 -06:00
Rich Dunne
a052aefc8a Removed unused Redirected property 2020-08-25 20:56:15 -06:00
Rich Dunne
96b535675c Preparing to remove Redirected property as part of Direct Driver refactor 2020-08-24 20:13:01 -06:00
Rich Dunne
6a6b8b5492 Refactored fields and properties 2020-08-20 19:29:56 -06:00
Rich Dunne
c48d1ea8ed Renamed ControlledVehicle object and class to CollectedVehicle 2020-08-20 08:47:28 -06:00
Renamed from SceneManager/Object Classes/ControlledVehicle.cs (Browse further)