Removing Jets Not Yet Taken Off
Posted: Mon Dec 04, 2017 11:30 am
Folks,
This to me is a complicated thing Im trying to achieve, and wondered if anyone could proffer some thoughts as to how I might achieve it.
The Player has a squadron of 12 jets, what I would like to simulate is three jets being tasked else where, sounds simple enough right?
My problem is I dont want the jets to be deleted if the player has already sent them on their way to a target, because that would be unrealistic.
So heres what I have so far:
I have an event trigger and conditions , with a LUA script that will delete Victor #1, Victor #2 and Victor #3, and that works perfectly.
So is there a Lua script, that can deactivate an event, am thinking that i set up an event that is something like:
The Trigger is if Victor #1 is over the north sea
and the action would be something like
Event_Delete{Event='Victor #1 Removed' , Active=false}
Anyone any ideas?
Kind Regards
Butch
This to me is a complicated thing Im trying to achieve, and wondered if anyone could proffer some thoughts as to how I might achieve it.
The Player has a squadron of 12 jets, what I would like to simulate is three jets being tasked else where, sounds simple enough right?
My problem is I dont want the jets to be deleted if the player has already sent them on their way to a target, because that would be unrealistic.
So heres what I have so far:
I have an event trigger and conditions , with a LUA script that will delete Victor #1, Victor #2 and Victor #3, and that works perfectly.
So is there a Lua script, that can deactivate an event, am thinking that i set up an event that is something like:
The Trigger is if Victor #1 is over the north sea
and the action would be something like
Event_Delete{Event='Victor #1 Removed' , Active=false}
Anyone any ideas?
Kind Regards
Butch