ScenEdit_AddUnit({type ='Submarine', name ='K-209', dbid =353, side ='WP', Base ='Murmansk', Heading = '300', Throttle = 'cruise', Depth = '300', latitude='70.1941604614258', longitude='34.5331382751465'})
One error and a couple questions:
Error: No ship with ID: 353. But I am calling for a submarine so I think that is the problem (see clip) (I've tried Submarine, submarine, Sub & sub)
Question 1: To assign the base I first tried the GUID but it was giving me errors so I put the base name in which should work. Is there a trick to adding a GUID to this bit?
Question 2: Instead of saying Throttle = 'cruise', Depth = '300', are there values for speed and depth settings? I remember seeing that somewhere but cannot recall for sure.
Thanks for you help.
B


