Thanks for posting the code! I'm new to Android and have had some issues getting DCS to read my packets (it'll read packets from my c# app). This should prove to be helpful. Thanks again.
Enemy ground forces have overtaken the northern bridge of Kislovodsk. They are posted near the north
entrance to the city by the bridge. Follow your way points to your destination.
Aircraft: SU-25T
Single Player Mission Objectives:
- Eliminate Enemy Troops
- Return & Land Safely at Departure Airbase
Download: http://bit.ly/1LqPlrm
*This is my first mission so please give me some constructive criticism if you like. Thanks.
That worked perfectly. Thank you very much. Small syntax correction below on the last line changing " to '.
local tank = Unit.getByName('tank1')
local life = tank:getLife()/tank:getLife0()
trigger.action.outText('Armor Health: ' .. life, 10)
I'm trying to display a units health via a message to the user. Here's what I got::
local unt = Unit.getLife0("uArmor")
trigger.action.outText("Armor Health:" .. unt, 10)
I'm working on a training mission and want to add the green gates seen in other training missions that the user must fly through. I'm new but I've been doing a lot of research and not seeing how this can be accomplished. Anyone have any ideas? Thanks. :thumbup: