ARTY Mark WIP

This commit is contained in:
funkyfranky
2018-05-28 22:19:35 +02:00
parent d4fead8294
commit b6ac79a9df
2 changed files with 46 additions and 0 deletions

View File

@@ -933,6 +933,15 @@ function EVENT:onEvent( Event )
--Event.WeaponTgtDCSUnit = Event.Weapon:getTarget()
end
if Event.idx then
Event.MarkID=Event.idx
Event.MarkVec3=Event.pos
Event.MarkCoordinate=COORDINATE:NewFromVec3(Event.pos)
Event.MarkText=Event.text
Event.MarkCoalition=Event.coalition
Event.MarkGroupID = Event.groupID
end
if Event.cargo then
Event.Cargo = Event.cargo
Event.CargoName = Event.cargo.Name