StrataSource / Portal-2-Community-Edition

Task tracker for Portal 2: Community Edition
https://www.portal2communityedition.com
146 stars 3 forks source link

Bug: Scripted_Sequence can't fire OnBeginSequence and OnEndSequence outputs. #1527

Open Pacca64 opened 10 months ago

Pacca64 commented 10 months ago

Describe the bug

The scripted_sequence entity works, and will make an npc walk to it and play the given animation. But when the sequence starts and ends, no outputs are triggered, so it's nearly impossible to sync up the animation with other map logic.

Issue Map

Download of test map with the issue (the OnEndSequence output tells portal gun parented to alyxs' hand to fire when sequence from Scripted_Sequence finishes, but it never happens.)

https://www.mediafire.com/file/4dznjsxi6saibl7/test1.bsp/file https://www.mediafire.com/file/xm3lqyj20a71utx/test1.vmf/file

To Reproduce

  1. Place an npc and a scripted_sequence in hammer
  2. Make the scripted_sequence target the npc, set the flag to trigger on start, and set it to a valid animation for the npc
  3. Add an output for the scripted sequence using OnBeginSequence or OnEndSequence
  4. Build the map
  5. The npc will move to the scripted sequence, play the animation, but the output will never be triggered.

Operating System

No response