Hi guys. When I call Floor_MoveToValue, the floor moves to that position over time.
If I call Floor_MoveToValue again on the same sector while it's still moving, it seems to ignor the call altogether. Is this correct?
Is there some way I can cancel the current destination so that I can override it?
Have I explained the situation ok?
Calling Floor_MoveToValue while the floor is still moving
Moderator: GZDoom Developers
Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. If you still don't understand how to use a feature, then ask here.
Please bear in mind that the people helping you do not automatically know how much you know. You may be asked to upload your project file to look at. Don't be afraid to ask questions about what things mean, but also please be patient with the people trying to help you. (And helpers, please be patient with the person you're trying to help!)
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. If you still don't understand how to use a feature, then ask here.
Please bear in mind that the people helping you do not automatically know how much you know. You may be asked to upload your project file to look at. Don't be afraid to ask questions about what things mean, but also please be patient with the people trying to help you. (And helpers, please be patient with the person you're trying to help!)
-
- Posts: 4901
- Joined: Sun Nov 14, 2010 12:59 am
- OS Test Version: No (Using Stable Public Version)
- Graphics Processor: ATI/AMD (Modern GZDoom)
Re: Calling Floor_MoveToValue while the floor is still movin
Try
Floor_Stop(<tag>);
before attempting to move the floor again.Re: Calling Floor_MoveToValue while the floor is still movin
Boom!
Thank you mr Blue Shadow, that has fixed it.
Thank you mr Blue Shadow, that has fixed it.