- Joined
- Mar 28, 2008
- Messages
- 666
- Reaction score
- 20
- Points
- 33
Why this is not working to set a vessel landed and how I can change the vesselstatus status to 1 (which means vessel is landed) at current location?
I want to make sure that the vessel (v) change to status 1 after landing, because some older vessels are slipping over the ground after landing...
[edit]
I solved it thanks to this post:
https://www.orbiter-forum.com/showthread.php?t=37527&highlight=GetStatusEx
I want to make sure that the vessel (v) change to status 1 after landing, because some older vessels are slipping over the ground after landing...
Code:
VESSELSTATUS2 vs2;
v->GetStatusEx(&vs2);
vs2.status = 1;
v->DefSetStateEx(&vs2);
[edit]
I solved it thanks to this post:
https://www.orbiter-forum.com/showthread.php?t=37527&highlight=GetStatusEx
Last edited: