Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix for AI Drivers module #46

Merged
merged 2 commits into from
Apr 9, 2021
Merged

Conversation

EM-Creations
Copy link
Member

When merged this pull request will:

  • Fix the AI drivers module

Reported by @goosko bug #37.

The list of specific vehicles to add driver AI on wasn't being used, also because there was no wait until the vehicles were even created in the game none of the other options would work.

@@ -1,8 +1,9 @@
// Array containing vehicles that will have option to spawn AI driver in them
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This file is effectively unmodified, just showing up as having made changes for some reason..

Copy link
Member

@PiZZAD0X PiZZAD0X left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we need the waituntilandexecute? What about just a postInit? All vehicles should be loaded in the postInit (past briefing)

@EM-Creations
Copy link
Member Author

EM-Creations commented Apr 7, 2021

Do we need the waituntilandexecute? What about just a postInit? All vehicles should be loaded in the postInit (past briefing)

You're right, it wasn't necessary, call to init the module now moved to a post init XEH.

@EM-Creations EM-Creations changed the title Fix: AI drivers now works. Fix for AI Drivers module Apr 7, 2021
@EM-Creations EM-Creations merged commit 2dbef84 into dev Apr 9, 2021
@EM-Creations EM-Creations deleted the bugfix/AI-drivers-not-working branch April 9, 2021 16:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants