It pains me to know end to buy 10 fighters at a time, and have to set them to wingman one at a time. Is there a quick/drity way to do this as a group, like tie it with the set homebase?
I've tried using the ships as an array with "ship> set as player wingman [TRUE]" (sorry, going from memory. Needless to say, that didn't work.
I'm sure it's very easy, I'm just missing it.
Quick question about wingmen
Moderators: Moderators for English X Forum, Scripting / Modding Moderators
you cant tap in the set homebase command ..
its a hardcoded command (it doesnt use scripts)
but to simply get a group of ships and set something on them ..
take them as a formation ..
like when you buy 10 ships .. make 9 follow the other ..
no you can set whatever you want like this
its a hardcoded command (it doesnt use scripts)
but to simply get a group of ships and set something on them ..
take them as a formation ..
like when you buy 10 ships .. make 9 follow the other ..
no you can set whatever you want like this
Code: Select all
if [THIS] -> has formation ships
$Followers = [THIS] -> get formation followers
else
$Followers = create array size 0
end
append [THIS] to array $Followers
$No.Follow = size of array; $Followers
while $No.Follow
dec $No.Follow
$Ship = $Follow [$No.Follow]
$Ship -> set as player wingman; [TRUE]
end
return null