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

Title: Anti-regen weapon
Post 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)?
Title: Re: Anti-regen weapon
Post by: MatthTheGeek on August 11, 2012, 10:47:02 am
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.
Title: Re: Anti-regen weapon
Post by: mobcdmoc3 on August 24, 2012, 08:19:04 pm
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?
Title: Re: Anti-regen weapon
Post by: Droid803 on August 24, 2012, 09:31:50 pm
There isn't a weapon impacted SEXP.
The closest would be fiddling with TAG...

But scripts could probably do this easily.
Title: Re: Anti-regen weapon
Post by: mobcdmoc3 on August 24, 2012, 10:35:46 pm
Hmm... Alright. Looks like imma have to use a cheap way of doing this. :ick:
Title: Re: Anti-regen weapon
Post by: Scourge of Ages on August 26, 2012, 11:12:03 pm
There's a "Get-damage-caused" SEXP that you might be able to use.
Title: Re: Anti-regen weapon
Post by: mobcdmoc3 on August 26, 2012, 11:33:03 pm
That happens to be what I'm doing, combined with a couple other things. :nervous: