I need help with funky tree missile bay
1,163 RMJS
one year ago
No Tags
The missile bay has to open up, then launch the missile and close again just by firing the missile, not by locking the aircraft, or by having the missile selected. Any help or suggestions would be awesome. Thank you.
Specifications
General Characteristics
- Created On iOS
- Wingspan 16.4ft (5.0m)
- Length 20.9ft (6.4m)
- Height 20.5ft (6.3m)
- Empty Weight 6,743lbs (3,058kg)
- Loaded Weight 6,743lbs (3,058kg)
Performance
- Wing Loading N/A
- Wing Area 0.0ft2 (0.0m2)
- Drag Points 9303
Parts
- Number of Parts 17
- Control Surfaces 0
- Performance Cost 75
Thanks
@Bray47
Your a life saver by the way
@Bray47
Ok I’ll see if that works
@RMJS
I figured it out, try this : (ammo("Weapon name") > 0) & (SelectedWeapon = "Weapon name") ? clamp01(FireWeapons) : 0
@Bray47
Ok ill see what he can do
Thanks
@guyfolk is far more of a genius when it comes down to funky trees, Ask him.
Sorry that uses multiple variables that I have no understanding of.
@RMJS sure
Would you know how to make the hing on my msl bay work the same as the PL-15 msl bay on this j20 but for the interceptor instead of the PL-15 i have a very limited knowledge of funky trees so if you could make it work it would be greatly appreciated
https://www.simpleplanes.com/a/XCIY1E/J-20A-999P
@Bray47
Ok I’ll try that thanks for your help
Fire weapons is now being treated as an activation group, meaning the weapon. Selected will open with an ITE (If.Then.Else) statement and will only activate once the group is activated. In theory, the weapons bay of your choice will open and only that one will open.
Try to rearrange it like this : (ammo("Weapon Name") > 0) & (SelectedWeapon = "Weapon Name") ? 1 : 0 * clamp01(FireWeapons)
It still seems to be having trouble working if you could set it up in your computer and then post it and tag me in it, that would be very helpful.
@Bray47
Ok will do thanks for the tip
Your welcome, Though I'm still learning funky trees. I mess with the code and variables, and take note of what it does. I would encourage it.
@Bray47
Thank you so much this is exactly what I needed
Clamp01(fireWeapons) & (ammo("Weapon Name") > 0) & (SelectedWeapon = "Weapon Name") ? 1 : 0
It also Hass to use the hinges that are supplied