Hard Light Productions Forums
Modding, Mission Design, and Coding => The FRED Workshop => Topic started by: headdie on November 03, 2015, 12:45:44 pm
-
Any idea how to go about this without triggering the attached error.
So I have a 3 fighter wing with 3 waves and a pause between them to allow a triggered message to play. So it all works well in mission but errors the mission on the way in 3.7.2 normal build because of the reference to the fighters that dont exist until the mission generates them.
So what's the better way to do this?
[attachment DELETED!! by Strong Bad]
-
Create a when-argument with every-of, list Aries 4 5 and 6 as arguments, make the message trigger off when-destroyed (argument).
-
Yup. Basically, the only way to get around FRED not seeing the future (in regards to Wings) is to use <Argument> or a variable. At least, I'm pretty sure a variable will work... as long as the variable is set to something that makes sense in the initial form.
-
Due to somewhat-related problems/errors, it's also possible that checks like this may get modified to be able to detect ships from future waves of a wing.
-
Could we get a <Any Alpha Wing> or <Any Beta Wing> message source option too?