Page 1 of 1

Need ideas for Lua script

Posted: Thu Jan 16, 2025 6:32 am
by rvseydlitz
I am writing a scenario and borrowing an idea from "Top Gun Maverick" for it's main event. I have not been able to duplicate however.
What I'm looking for is to make two targets as in the movie...and the first one must be destroyed before the second can be targeted. I had tried Lua to actually create the second when the first is destroyed but that leaves too much lag time for a striker mere seconds behind to even identify a target to fire at...and having the target already there and "zeroed in on" mostly erased the need to hit the first target.
Any ideas?

Re: Need ideas for Lua script

Posted: Thu Jan 16, 2025 7:25 am
by blu3s
Maybe make the new target autodetectable

Re: Need ideas for Lua script

Posted: Thu Jan 16, 2025 8:04 am
by rvseydlitz
blu3s wrote: Thu Jan 16, 2025 7:25 am Maybe make the new target autodetectable
Geez blu thank you lol...looking for some fancy new tool when a simple hammer will do...that works!