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)))
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)))