Page 1 of 1

Set Submarine Depth

Posted: Mon Aug 26, 2019 10:18 am
by butch4343
Folks,

I come to you seeking your help, I am looking to set up a script where a submarine will randomly change its depth every so often, ie after 1 hr the submarine will either remain at the same depth or slip under the laye, or over or whatever. I understand the random math seed part ok, I just cant seem to find a script that will change the depth.

Would it be something like:

ScenEdit_SetUnit({side ="WP", name = "Victor", moveto = true, altitude = '-500 ft'})

Or could I use the phrase "under the layer" or "shallow"?

Any help would be gratefully recieved

Regards

Butch

RE: Set Submarine Depth

Posted: Mon Aug 26, 2019 10:29 am
by michaelm75au
Try this -
ScenEdit_SetUnit({side ="WP", name = "Victor", moveto = true, depth= '500 ft'})

RE: Set Submarine Depth

Posted: Tue Aug 27, 2019 5:47 pm
by butch4343
ORIGINAL: michaelm75au

Try this -
ScenEdit_SetUnit({side ="WP", name = "Victor", moveto = true, depth= '500 ft'})

Michael

That worked great mate [:)]

As always am obliged to you [&o]

Regards

Butch