Hestia
Posts: 22
Joined: 2/28/2017 Status: offline
|
I tried to add a downed pilot to a scenario through Lua script, but no matter what I do I end up with the downed pilot and an unknown contact "MOBILE #11" (class unknown, side unknown) on the same location as the downed pilot. This is the action I use: ScenEdit_AddUnit({type = 'Land', name = "Pilot #1", dbid = 2046, side = 'NATO', latitude = '22.16', longitude= '-79.70', autodetectable = 'true', holdfire = 'true', proficiency = 4}) I tried different triggers (time, random time, unit enters area...) but no luck. What am I doing wrong?
|