Wing Commander CIC

How did you guys remove people from your wing at the end of a mission in UE. What I am doing ain't working at all--variables are not working.

var land = false;
var complete = false;
var start = false;

function M_Twlight;// banshee pilot-female-ancestery from India
begin
AI_AddToWing(Iceblade);
SF_setObjectFlag (OF_alignment, ALIGN_Confed);
SF_activateSelf(0);
while(1) do begin
AI_WaitSeconds(1);
if(start) then begin
AI_AddToWing(Iceblade);
end;
if(land) then
AI_RemoveFromWing;
end;
end;
_______________________
haha... :( found the problem--I have had an inconsistence in most all of my codes :(

It is supposed to be "while(1) do begin" for ship functions. Now it all makes
sense, but why didn't the compiler catch it?
Back
Top