
Link [Editing with the Laser Designator | snYpir | 1.0 ]
Aby przekazywała wartości do mw. takiego skryptu:
- Kod: Zaznacz cały
_target = _this select 0
_typeAir = _this select 1
_bombT = _this select 2
_bombC = _this select 3
_pilot = _this select 4
~1
_air1 = _typeAir CreateVehicle [_target select 0,_target select 1 + 500,400]
_pilot moveInDriver _air1
_pilot action ["Engine On",_air1]
_pilot CommandMove _target
_pilot flyInHeight 350
@UnitReady _pilot
_i = 0
#dropB
_bomb1 = _bombT camCreate [getpos _air1 select 0,getpos _air1 select 1,getpos _air1 select 2 - 10]
_bomb1 setdir (getdir _air1)
_i = _i + 1
~.7
? !(_i == _bombC) : goto "dropB"
EXIT
To jest dosyć robocza wersja skryptu