Hard Light Productions Forums
Modding, Mission Design, and Coding => The Modding Workshop => Topic started by: Legate Damar on August 11, 2012, 10:41:56 am
-
Would it be possible to make a weapon that, when it hits the unshielded hull of a ship with a regenerating hull, prevents it from regenerating (either permanently or for a certain amount of time)?
-
Possible with sexps, as far as I know. It should be possible to track which weapons has hit which ship and stop the regen from here. Some better FREDer than me should confirm or deny that.
-
So, does such a SEXP exist for checking what weapon has impacted? I've swept through FRED a few times now, and haven't found anything. Perhaps I'm missing something?
-
There isn't a weapon impacted SEXP.
The closest would be fiddling with TAG...
But scripts could probably do this easily.
-
Hmm... Alright. Looks like imma have to use a cheap way of doing this. :ick:
-
There's a "Get-damage-caused" SEXP that you might be able to use.
-
That happens to be what I'm doing, combined with a couple other things. :nervous: