Page 1 of 1

Depth Setting in Event

Posted: Sun Aug 14, 2022 7:10 pm
by Parel803
Good Evening,

Busy with some extra tryings on Riser/Sinker. Had help in the pas from KH
First I want a Submarine to come to Periscope depth.

The Event to go to periscope works but she goes to 0 ft (every time in the 1 minute regular time I made for testing). It looks like the 0 in manual for F2 (depth setting) stays on 0. Tried also with -166 in F2 manual and sub keeps going back to that depth.
The second action works with altitude minus and the moveTo/manAltitude. Tried these also in the first action nut it behaviour stays the same.

Can someone see what I'm doing wrong here.
regards GJ

Re: Depth Setting in Event

Posted: Mon Aug 15, 2022 6:32 am
by michaelm75au
You have the sub set to 'manual' override, so the depth change won't stick.
To preserve the 'manual' depth, use this
ScenEdit_SetUnit({guid=ss1.guid, moveTo=false, manualaltitude='periscope'})

Re: Depth Setting in Event

Posted: Mon Aug 15, 2022 3:19 pm
by Parel803
Micheal,

Thanks for your time and help.

regards GJ