Hard Light Productions Forums

Modding, Mission Design, and Coding => The FRED Workshop => Topic started by: pulsarou on September 10, 2017, 05:19:35 am

Title: Cloack / Uncloack
Post by: pulsarou on September 10, 2017, 05:19:35 am
Hello Freeders !

I watch Ship" statut "Cloack" in Misc... Ok, it's not visible... But I don't see Sexp instruction for uncloacking a ship ?

Can you help me ?

Thanks.

Cya.
Title: Re: Cloack / Uncloack
Post by: AdmiralRalwood on September 10, 2017, 01:38:20 pm
You need to use ship-effect to decloak the ship (Change -> Special Effects -> ship-effect). Change the effect (first argument) to Decloak, set a duration for how long it should take to decloak, and then specify the ship or ships that should be decloaked. For example, if I had a cloaked ship named Libra 1 that I wanted to decloak over 3 seconds:
(http://deviance.duckish.net/pictures/decloak_example.png)
Title: Re: Cloack / Uncloack
Post by: Trivial Psychic on September 10, 2017, 06:08:05 pm
Shouldn't this be in the FRED Workshop forum?
Title: Re: Cloack / Uncloack
Post by: pulsarou on September 11, 2017, 02:10:17 am
You need to use ship-effect to decloak the ship (Change -> Special Effects -> ship-effect). Change the effect (first argument) to Decloak, set a duration for how long it should take to decloak, and then specify the ship or ships that should be decloaked. For example, if I had a cloaked ship named Libra 1 that I wanted to decloak over 3 seconds:
(http://deviance.duckish.net/pictures/decloak_example.png)

Thanks for your helps !

 :yes:
Title: Re: Cloack / Uncloack
Post by: pulsarou on September 11, 2017, 02:13:28 am
Shouldn't this be in the FRED Workshop forum?

Yep ! My question is in wrong section... Please, If moderator can move my topic on good section