
[pasazer,informator] exec "abc.sqs"
abc.sqs
- Kod: Zaznacz cały
_veh = vehicle(_this select 0)
@speed _veh == 0
_this select 0 action ["eject", _veh]
unassignVehicle _this select 0
_this select 0 doMove [(getpos (_this select 1) select 0) +sin(getdir (_this select 1))*(1),(getpos (_this select 1) select 1) +cos(getdir (_this select 1))*(1)]
@ (_this select 0) distance (_this select 1) < 2
(_this select 0) doWatch (_this select 1)
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;;;;;;;;;;;;;;;;;DIALOG;;;;;;;;;;;;;;;;;;;;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
(_this select 0) a assignAsCargo _veh
[_this select 0] orderGetIn true
exit
gdzies mogla wpasc jakas literowka lub cos takiego.