Scar79
Posts: 183
Joined: 8/9/2013 Status: offline
|
Please, help, i can't figure out where's the problem: What's wrong with this peice of code?! quote:
local mission=ScenEdit_AddMission('Targets','Surface Target Patrol','patrol',{type='sea'},{zone={'STZ_01','STZ_02','STZ_03','STZ_04'}}) ScenEdit_AssignUnitToMission("Surface Target","Surface Target Patrol") If i delete {type='sea'} and change mission-class to Support, it works just fine. Obviosly, there is some problem with mission subtype determination, but i can't understand what exactly is wrong.
|