Let’s say I wanted to use the events of craft a docked to craft b starts a thread. How does one go about changing the craft that it is set to? Do I use a set variable?
Tags
Question5 Comments
- Log in to leave a comment
-
-
3,664 JSO18
@Tweedle_Aerospace yes, I think on docking, craft a will become the craft you are controlling, and craft b will become the other. I am not sure but I think that is how it works.
-
4,796 TweedleAerospace
@QarabinaKa so craftA and craftB will update on the event of them docking?
-
3,718 QarabinaKa
No, don't use a set variable. They are local variables that can be used in the script of the event. An example is the part collision. Every time a part collides, that is called, but the variable 'part' changes for the part that collided in each.
1 Upvote
Log in in to upvote this post.
I'll have to go back to sr2 to understand