I am trying to make a casting bar that works while am in a vehicle. Currently the only way i know to achieve this is by tying the name of the vehicle for example Telaari siege engine in the specific unit under trigger. This way is not viable as i will need to add a trigger for every vehicle i may use. Is there any way of stating all vehicles?, do i need a custom Lua function and if so can anyone help?
Any help will be appreciated.