Apparently you can activate stage but not detect stage activation in Vizzy, so is there a way to do that without assigning one part to each stage and detecting part activation? What I want to make is a weapon system that can be enabled or disabled with activation group and fired with staging action when active.
Tags
Question2 Comments
- Log in to leave a comment
-
7,823 SmurfResearchX
i have set a variable for "craft stages" and had it change by -1 every time it activated a stage (like a remaining stage countdown) - it worked pretty good...but doesnt have any way to know if a stage was activated manually
No Upvotes
Log in in to upvote this post.
Another workaround is to check for a sudden changes in mass or in part count. With part count you can do this with a wait until by setting a variable to the current part count and then wait until the current part count is less than the original. With mass I think you would need to use a while loop (because you want to ignore gradual changes caused by burning fuel). In either case these methods can be fooled by things like undocking or explosive disassembly. Additionally these techniques will not work for stages that don't separate the craft in some way (i.e. a parachute stage).