Ship Targets

Winnyfred

Rear Admiral
Does the function Mission_setScriptControl(boolean scriptcontrol) need to be activated to change enemy AI's starting target from you to your wingman?
 
Does the function Mission_setScriptControl(boolean scriptcontrol) need to be activated to change enemy AI's starting target from you to your wingman?


You could use
Code:
Ship_setAIEnabled(string shipid, boolean enabled)

to have the enemies not do anything. Not sure, but I think this works regardless of scriptControl
 
So, if I disabled the AI and set the target, would they still operate like they would normally? Or would I have to set their movements up?
 
Does the function Mission_setScriptControl(boolean scriptcontrol) need to be activated to change enemy AI's starting target from you to your wingman?

Think I misunderstood your question before. No, I don't think you need script control. But let me know if you see a problem.
 
Back
Top