just a really short question. when using the functions "floor_lowerbyvalue" or the equivalent ceiling function, is there a function to basically interrupt/cancel the movement?
to give an example, imagine a switch in the floor. when entering this sector, a door starts to open. when you leave the sector, the door instantly stops and goes back to a closed state.
i did something like that a while back but i had to use some trickery. instead of having the total value i wanted the door to move, i added small increments and put them into a loop. this created weird sound, because the floor sound would trigger each time, so i had to remove this in the sndinfo. it did sort of work as i wanted to, but obviously not as it's supposed to work.
Question
zzzornbringer
just a really short question. when using the functions "floor_lowerbyvalue" or the equivalent ceiling function, is there a function to basically interrupt/cancel the movement?
to give an example, imagine a switch in the floor. when entering this sector, a door starts to open. when you leave the sector, the door instantly stops and goes back to a closed state.
i did something like that a while back but i had to use some trickery. instead of having the total value i wanted the door to move, i added small increments and put them into a loop. this created weird sound, because the floor sound would trigger each time, so i had to remove this in the sndinfo. it did sort of work as i wanted to, but obviously not as it's supposed to work.
Share this post
Link to post
2 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.