Hard Light Productions Forums
Modding, Mission Design, and Coding => The FRED Workshop => Topic started by: lefkos on May 29, 2007, 03:10:55 pm
-
again me(arg sorry to spawn the forum with questions and help)
but i have a new mission(jeej!)
and there are 2 annoying things init
1: in my mission the player must disarm and disable a Destroyer because its going to be captured but everytime those to objectives are completed my bombers still bombing the destroyer and destroy it how can i prevent this? i mean after the disable and disarm objectives.
2: wen a argo transport with the boarding party is docking with the ship it send its cargo in the destroyer but nothing happens i mean it should change to unknown and friendly but that doesnt happend and i followed the walkrought with the info i need but that doesnt work :S
any help is apriciated ;)
-
Switch the destroyer's AI to Friendly when it's disarmed.
when
-is-disarmed-delay
--0
--destroyer
-change-iff
--friendly
--destroyer
It'll solve both of your problems.
-
Switch the destroyer's AI to Friendly when it's disarmed.
when
-is-disarmed-delay
--0
--destroyer
-change-iff
--friendly
--destroyer
It'll solve both of your problems.
thats a very good one(ill think im gonna scrap the Argo Transport)
BUT there is a friendly Argo thats gonna dock the destroyer (because its a little weird that a bunch of pirates suddenly chance friendly right?)filled with marines etc and thats the part that doesnt work well
-
It sounds wierd, but this is the technique most often used in campaigns. Go ahead and change the IFF. Alternatively, you could use
when
-(destroyer disabled)
-add-goal
--Alpha 2
--ignore-ship
--destroyer
Replace "Alpha 2" with any friendly ship or vessel that's still alive. If one ship ignores a target, all ships will ignore that target. Just make sure that "Alpha 2" or whoever is still alive when the destroyer is disabled.
Strange problem you're having, though. Normally, ships will ignore a target after they're done disabling or disarming it.
-
see attachment
you may combine the solutions
[attachment deleted by admin]
-
I've always disliked changing IFF instantly. Simply protect and beam protect the ship and clear the orders of the bomber wings instead.
-
It sounds wierd, but this is the technique most often used in campaigns. Go ahead and change the IFF. Alternatively, you could use
when
-(destroyer disabled)
-add-goal
--Alpha 2
--ignore-ship
--destroyer
Replace "Alpha 2" with any friendly ship or vessel that's still alive. If one ship ignores a target, all ships will ignore that target. Just make sure that "Alpha 2" or whoever is still alive when the destroyer is disabled.
Strange problem you're having, though. Normally, ships will ignore a target after they're done disabling or disarming it.
It sounds wierd, but this is the technique most often used in campaigns. Go ahead and change the IFF. Alternatively, you could use
when
-(destroyer disabled)
-add-goal
--Alpha 2
--ignore-ship
--destroyer
Replace "Alpha 2" with any friendly ship or vessel that's still alive. If one ship ignores a target, all ships will ignore that target. Just make sure that "Alpha 2" or whoever is still alive when the destroyer is disabled.
Strange problem you're having, though. Normally, ships will ignore a target after they're done disabling or disarming it.
haha thanks! it worked! :)