Members | Sign In
All Forums > Mission Scripting

Making a ship defend another ship

posted May 26, 2013 07:12:43 by sayabodohproductions
I am new to Mission Scripting and am writing a mission using the Mission Editor. I was trying to get a transport to fly up to a Destroyer and then just fly around next to it (like if you used the Comms "defend" command. I tried to use the Throttle direction AI command to make it fly to the destroyer and then i tried to use the "Defend" AI command to make it just stick with it but i think that command just makes it defend whoever is nearby. so now the ship just flies up to the destroyer then just go past it and fly around the map randomly..


page   1
2 replies
Mike_Substelny said May 26, 2013 23:55:38
The DEFEND AI block has no effect unless the Communications officer orders the neutral ship to Go Defend -> X.

I think the block you want is "TARGET_THROTTLE."
"Damn the torpedoes! Four bells, Captain Drayton!"

(Likely actual words of Admiral David Farragut, USN, at the battle of Mobile Bay. Four bells was the signal for the engine room to make full steam ahead).
sayabodohproductions said May 27, 2013 09:22:19
okay, I'll try that out and see what happens, Thanks

Login below to reply: