주 콘텐츠로 건너뛰기

검색

Turn off an animation temporarily

  • FlashMedallion

    So you have the animation that plays on a button press? Put that inside its own logic chip.

    Wire the Power input of that chip to a counter that defaults at 0 and has a max value of 1.

    So the chip is off by default. When the player picks up the weapon you want a single trigger to change all your states. Maybe that's just the player coming within 0.1m. Then you have that condition wired to permanently increment the counter to 1.

    This will turn on the chip and make the animation available. You could also use that counter to

    • make the weapon visible on the avatar
    • destroy the weapon that was on the floor (because it was just picked up)

  • Digitalthing

    Thanks for the reply, you’re awesome that work perfectly.

댓글을 남기려면 로그인하세요.