Hard Light Productions Forums
Modding, Mission Design, and Coding => FS2 Open Coding - The Source Code Project (SCP) => Topic started by: Black Wolf on May 12, 2004, 05:10:13 am
-
Could this be implemented? Say you've got Blue wing, a wing of four in three waves - you can't sexp anything relating to any ship past Blue 5 - therefore if you want Blue 7 to send a message, or the last survivor of the wave (ie. Blue 9, 10, 11 or 12) you're screwed.
Also, could it be possible to reference waves in a similar way we reference wings? Say you want wave 1 to concentrate on disabling a ship, wave two to concentrate on disarming and wave three on taking out the sensors - this can't be done, you need three separate wings. Perhaps it could be altered so that you could use "add data" to insert a wave number when you're sexping something related to wings?
-
I've asked for this a couple of times in more roundabout ways but yes this would be very useful to me.
-
Same here. I'm tired of fighters in backup waves being more or less immune to scripting. It's time they all suffered. :nod:
-
set a variable so that when a wave is down it adds one so when the second wave comes you set it like when = 1 variable(whatever) clear-goal add-goal etc
-
That gives you a few useful abilities Roy. In fact any SEXP that works on the wing name can be operated on using that method but some SEXP's require the actual ships name and IIRC they wouldn't work.
e.g Change-IFF for example. Since that uses the ships names you can't give it Cancer wing as an arguement and I doubt that giving it Cancer 1 to 4 would have any effect on Cancer 27 (although I haven't tested that myself).
-
Originally posted by Roy fokker
set a variable so that when a wave is down it adds one so when the second wave comes you set it like when = 1 variable(whatever) clear-goal add-goal etc
Variables don't like me, so I try to avoid them, but it looks like this could work. Still, try getting Blue 18 to send a message.
-
Originally posted by karajorma
e.g Change-IFF for example. Since that uses the ships names you can't give it Cancer wing as an argument
You can now (as of 3.5.5, I believe). I haven't checked it for waves though.
-
Can we have a SEXP for adding or removing reinforcement waves from wings as well?