0 Members and 1 Guest are viewing this topic.
?_dropship FlyInHeight > 20
; ******************************************************************************; ** This is a script for the Dropship of SST mod.; ** Name your Dropship dropship and put this in its Init:; ** [dropship] exec animation.sqs; ******************************************************************************; Parameters_unitname = _this select 0; Gear up?_dropship FlyInHeight > 20dropship animate ["thegear", 1] ; Gear down?_dropship FlyInHeight < 20dropship animate ["thegear", 0] ; Open Rampdropship animate ["backramp", 1] ; Close Rampdropship animate ["backramp", 0] ; Thuster 1 Backdropship animate ["thegear1", 1] ; Thuster 2 Backdropship animate ["thegear2", 1] ; Thuster 1 Forwarddropship animate ["thegear1", 0] ; Thuster 2 Forwarddropship animate ["thegear2", 0]
_dropship = _this select 0#checkH? (getpos _dropship select 2 <= 20) : goto "geardown"? (getpos _dropship select 2 >= 20) : goto "gearup"~2? alive _dropship : goto "checkH"#geardown_dropship animate ["thegear", 0]...And so on...@(getpos _dropship select 2 > 20)goto "checkH"#gearup_dropship animate ["thegear", 1]...And so on..@(getpos _dropship select 2 < 20)goto "checkH"
; ******************************************************************************; ** This is a script for the Dropship of SST mod.; ** Name your Dropship dropship and put this in its Init:; ** [dropship] exec animation.sqs; ******************************************************************************_dropship = _this select 0#checkH? (getpos _dropship select 2 <= 20) : goto "geardown"? (getpos _dropship select 2 <= 20) : goto "openramp"? (getpos _dropship select 2 <= 20) : goto "truster1forward"? (getpos _dropship select 2 <= 20) : goto "truster2forward"? (getpos _dropship select 2 >= 20) : goto "gearup"? (getpos _dropship select 2 >= 20) : goto "closeramp"? (getpos _dropship select 2 >= 20) : goto "truster1back"? (getpos _dropship select 2 >= 20) : goto "truster2back"~2? alive _dropship : goto "checkH"#geardown_dropship animate ["thegear", 0]#openramp_dropship animate ["backramp", 1]#truster1forward_dropship animate ["thegear1", 0]#truster2forward_dropship animate ["thegear2", 0]@(getpos _dropship select 2 > 20)goto "checkH"#gearup_dropship animate ["thegear", 1]#closeramp_dropship animate ["backramp", 0]#truster1back_dropship animate ["thegear1", 1]#truster2back_dropship animate ["thegear2", 1]@(getpos _dropship select 2 < 20)goto "checkH"