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

Ignore AI for dragging crew checks #2591

Closed
wants to merge 1 commit into from
Closed

Ignore AI for dragging crew checks #2591

wants to merge 1 commit into from

Conversation

PabstMirror
Copy link
Contributor

#2590

UAV / Automated Turrets have AI "crew"
The weight should be the same so we can just ignore them in the crew count check.

@PabstMirror PabstMirror added the kind/bug-fix Release Notes: **FIXED:** label Sep 24, 2015
@PabstMirror PabstMirror added this to the 3.4.0 milestone Sep 24, 2015
@PabstMirror
Copy link
Contributor Author

Also, AI turrets will continue to shoot while you carry it, which is kind of awesome.

untitled

@commy2
Copy link
Contributor

commy2 commented Sep 24, 2015

Wow. disableAI ?

@commy2
Copy link
Contributor

commy2 commented Sep 24, 2015

Why does crew return drone logics anyway?

@@ -21,7 +21,7 @@ _target = _this select 1;

if !([_unit, _target, []] call EFUNC(common,canInteractWith)) exitWith {false};

// a static weapon has to be empty for dragging
if ((typeOf _target) isKindOf "StaticWeapon" && {count crew _target > 0}) exitWith {false};
// a static weapon has to be empty for dragging (ignore UAV AI
Copy link
Member

Choose a reason for hiding this comment

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

Missing )

@commy2
Copy link
Contributor

commy2 commented Sep 26, 2015

Pulled this in #2564

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug-fix Release Notes: **FIXED:**
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants