Hard Light Productions Forums

Modding, Mission Design, and Coding => The FRED Workshop => Topic started by: Lucika on December 07, 2009, 02:14:42 pm

Title: Making all ships invulnerable
Post by: Lucika on December 07, 2009, 02:14:42 pm
Is there quick a way to make all ships invulnerable?

[ANSWERED] In my mission the player begins under AI control and it follows a specific path (waypoints-once). I want to allow the player to be able to disable this if he deems it necessary. How should I FRED this? Is the disable-autopilot key command good? Or what's the idea?
Title: Re: Disabling player's AI control
Post by: karajorma on December 07, 2009, 06:17:09 pm
Simply check for key-pressed (whichever key you want) and then turn off the AI control.

I'd probably use the 1-4 keys myself as they don't have any effect in singleplayer but the disable autopilot one might be a reasonable choice too. Just make sure the player is aware what key to press.
Title: Re: Disabling player's AI control
Post by: Lucika on December 07, 2009, 06:25:16 pm
Thanks.

Another question: Is there quick a way to make all ships invulnerable?
Title: Re: Making all ships invulnerable
Post by: General Battuta on December 07, 2009, 07:27:29 pm
Check the 'invulnerable' box with all ships selected?