Hard Light Productions Forums
Modding, Mission Design, and Coding => The FRED Workshop => Topic started by: choub on June 11, 2012, 04:24:54 pm
-
Hello
I begin to work with fred 2 to make some missions. Here is my problem: i want to set speed of all ships in a convoy. For this i can use sexp cap waypoint speed but it seems to be i can set speed only one ship in one event. The convoy is big and represents a lot of events! Here is my question: is it possible to groups all ships in one something to be use in sexp. One order for all
Pardon for my poor english!
thanks
-
You can use multiple sexps in a single event. Right click on 'When' and then 'Add Operator'.
Alternatively, you might have a look at conditional arguments (http://www.hard-light.net/wiki/index.php/Tutorial_-_Conditional_Arguments) for another method of doing the same thing.
-
being able to list several ships in a list would be nice though
-
being able to list several ships in a list would be nice though
What do you mean by that?
-
I assume he means...
cap-waypoint-speed
+speed
+list of ships
Similar to..
is-destroyed-delay
+delay
+list of ships
I haven't opened FRED yet to see if it already works like that or not though.
-
I assume he means...
cap-waypoint-speed
+speed
+list of ships
Similar to..
is-destroyed-delay
+delay
+list of ships
I haven't opened FRED yet to see if it already works like that or not though.
yep.
using the word list twice in the same sentence was not a good idea, I would fire my brain but I think I already did
-
thanks a lot for your help.
"list of ship" will be great, i agree. The worst is that u can't use wings, and i have to list ships one by one. I will study conditionnal arguments...
-
Shouldn't that work with something similar to this?
when-argument
(
--every of
--- convoyship1
--- convoyship2
--- convoyship3
--- convoyship4
--- ...
--- ...
--true
-- cap-waypoint-speed
--- 30
--- <argument>
)