VTOL automatic engine start

Hi, I would have a question regarding VTOL plane. After arming the drone in AUTO mode and starting VTOL Takeoff, I would like the aircraft engine (B) to start by itself after 10 seconds. How can this be done? I was thinking of a LUA script, will this be the best option?