For example, can I activate a rotor by pressing the air-to-air weapons?
Answer:
It is not possible to use a weapons group as input, however you can use the selection of one specific weapon as input.
This can be done by using the command SelectedWeapon = "weaponname"
Example:
If your missile is named 'Inferno', the input would be SelectedWeapon = "Inferno"
Thank you Ruvien0Republic0Officer!!
and also this is the code for this to work
clamp01(ceil(smooth(clamp01(SelectedWeapon = "weaponname" & ammo(SelectedWeapon) > 0 ? 1 : 0 ), 3)))
Is it possible to use it for two weapons? like example you want two types of weapons in the input and I only able to do in one weapons you all might understand what I'm saying in this style
clamp01(ceil(smooth(clamp01(SelectedWeapon = "inferno" & ammo(SelectedWeapon) > 0 ? 1 : 0 ), 3)))(clamp01(ceil(smooth(clamp01(SelectedWeapon = "boom 50" & ammo(SelectedWeapon) > 0 ? 1 : 0 ), 3)))
and if possible please fix it thank you
Never mind I got it
here's the solution
clamp01(ceil(smooth(clamp01(SelectedWeapon = "Inferno" | SelectedWeapon="Boom-50"& ammo(SelectedWeapon) > 0 ? 1 : 0 ), 3)))
@Pozooplayz https://youtu.be/FUMG03ftAkM
How do I type it in I don’t understand and it’s really frustrating me
@Ruvien0Republic0Officer Could you please share a screenshot of such a input line in a rotator? It is a bit unclear to me how I should use that as an input. :)
Edit:
Nvm, I got it!
Than you!
theres a code for that... try checking out @Natemomog H-13 Mynah transport helicopter, the helicopter door had that code