Profile image

ammo("ammoname")=ammo(SelectedWeapon) as input

1,988 LowDeadDiper  2.5 years ago

I want to do this piston thing where when you select the weapon it will activate then when you release it will deactivate. It works when there's only 1 piston, but then when I mirrored it on the other side both wont go back even if I unselect the weapon. What could be the problem, any help?

  • Log in to leave a comment
  • Profile image

    @LowDeadDiper
    No problem.

    2.5 years ago
  • Profile image
    1,988 LowDeadDiper

    @ZeroWithSlashedO holy sheesh it worked much thanks!!

    2.5 years ago
  • Profile image

    @LowDeadDiper
    Absolutely.

    2.5 years ago
  • Profile image
    1,988 LowDeadDiper

    @ZeroWithSlashedO and how shall I put it, clamp01(SelectedWeapon="weapon name") on both pistons?

    2.5 years ago
  • Profile image
    1,988 LowDeadDiper

    @ZeroWithSlashedO does that work on 2 pistons?

    2.5 years ago
  • Profile image

    So... Select a certain weapon, it activates the thing?
    I mean just, clamp01(SelectedWeapon="weapon name").

    2.5 years ago
  • Profile image
    1,988 LowDeadDiper

    @TheFlightGuySP thanks but it did not work I also already set it on zeroOnDeactivate

    2.5 years ago
  • Profile image

    Here's what I recommend: set the input and activation group on the pistons to "selectedWeapon=name of your weapon", then set "zeroOnDeactivate" to "true". That may or may not work.

    2.5 years ago