Hard Light Productions Forums
Modding, Mission Design, and Coding => The FRED Workshop => Topic started 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?
-
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.
-
Thanks.
Another question: Is there quick a way to make all ships invulnerable?
-
Check the 'invulnerable' box with all ships selected?