- Messages
- 180
- Country
-
Hey all,
I've recently discovered the fun of using SCASM (let's see...only about 10 years late
). While looking through the documentation, one of the commands caught my attention.
Okay, I get the label, v1, v2 values...but I am confused on the variable used in this case. Is there a variable that contains a current position w/ lat/lon/elev?
Looking at FSInterrogate, it looks like these values would be spread across several locations.
Also, would it be possible to pass a value to that variable via dll or another source? If so, couldn't this be used to adjust object positions without having to make it dynamic scenery.
Any ideas or thoughts on this would be awesome. Thanks!
I've recently discovered the fun of using SCASM (let's see...only about 10 years late
Code:
RefPoint( ind :Label scale var [...] )
This reference point is used in the aircraft model files and uses an indirect position definition.
ind the keyword IND indicates that indirect positioning is used.
var the address of the variable area that holds the current position (Lat, Lon, Alt).
[...] v1= ##, v2= ##, optional
Okay, I get the label, v1, v2 values...but I am confused on the variable used in this case. Is there a variable that contains a current position w/ lat/lon/elev?
Looking at FSInterrogate, it looks like these values would be spread across several locations.
Also, would it be possible to pass a value to that variable via dll or another source? If so, couldn't this be used to adjust object positions without having to make it dynamic scenery.
Any ideas or thoughts on this would be awesome. Thanks!