Nice, i found 28 .sqs files
Ok, OPENRAMP.sqs is the one - the question is, how do i implement this?
The file says:
_vehicle = _this select 0
? (_vehicle animationphase "rampa" > 0.5) :exit
? (speed _vehicle> 15):_vehicle say "rampasndc130";_vehicle animate ["rampa",0.7];_vehicle animate ["rampa1",1];exit
_vehicle say "rampasndc130"
_vehicle animate ["rampa",1]
_vehicle animate ["rampa1",1]
? !(isengineon _vehicle):_vehicle animate ["door1",1];_vehicle animate ["door2",1];_vehicle animate ["door3",1];
exit
Unfortunately i'm stupid
so I just quickly tried
this exec "OPENRAMP.sqs"
in the plane's init field, which of course gave an error:
Type Object, expected Array
Can someone explain this to me? How do i cause the cargo doors to open at a waypoint or in the unit's init field when the mission starts?