Hard Light Productions Forums
Modding, Mission Design, and Coding => The FRED Workshop => Topic started by: cdombroski on February 25, 2010, 07:13:03 am
-
The ai-destroy-subsystem goal isn't working exactly like I expect. I've given a wing 2 destroy subsystem goals, but after the first subsystem is destroyed, they just attack the ship like normal instead of concentrating on the second subsystem.
Is this the way this goal is supposed to work? Do I just need to give these goals one at a time to get the desired effect?
-
You should probably give those goals sequentially (not in the same event) and with differing priorities.
-
Just to be clear, I gave the goals in the initial orders and it looks something like this:
Goal | Target | Subsystem | Priority |
ai-destroy-subsystem | GTCv York | turret23 | 70 |
ai-destroy-subsystem | GTCv York | turret24 | 60 |
-
I would give the AI the first goal as an initial order, and create an event that gives the AI the second one after the first goal is fulfilled.
-
Ok, I kind of figured that's what I would have to do. Does anybody know why it doesn't work the way that I did it?
-
That would be an issue that needs to be investigated. Can you post an issue with the not-working mission attached at the SCP Mantis (http://scp.indiegames.us/mantis/)?
-
I suppose you need to use ai-clear-goals sexp first, then chain new ai orders with 1 sec delay.
-
That would be an issue that needs to be investigated. Can you post an issue with the not-working mission attached at the SCP Mantis (http://scp.indiegames.us/mantis/)?
No need. I'm already working on this exact issue actually.
EDIT : Actually on second thoughts it wouldn't hurt to have the mission so post the Mantis issue.
-
Well I've got an account there now (how many more accounts can I sign up for today? :)), but I'm at work, so I can't really post an issue with the mission attached until this evening. (Silly Real Life getting in the way of fun :()
-
That's fine. I'm looking into the issue already anyway.
-
http://scp.indiegames.us/mantis/view.php?id=2143