So, When walking over a linedef to execute a script, The Teleport does'nt execute, But when walking over it again it teleports the player.
This also happens with another instance where I have a custom camera, And when walking over a Linedef it doesn't execute the camera till I walk over it again.
ACS not executing Correctly
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!)
- wildweasel
- Posts: 21706
- Joined: Tue Jul 15, 2003 7:33 pm
- Preferred Pronouns: He/Him
- Operating System Version (Optional): A lot of them
- Graphics Processor: Not Listed
- Contact:
Re: ACS not executing Correctly
You haven't really told us enough to be able to help you. Can you post your map?
Re: ACS not executing Correctly
I fixed the problem! I just flipped the Linedef and it worked
Re: ACS not executing Correctly
Yup, teleports in scripts work like teleport lines in a map. You have to cross them front to back to for the teleport instruction in the script to work (the rest of the script is likely to work even if you cross the other way though). I know it seems a bit weird but teleports need to work that way to allow you to be able to get off teleport pads surrounded by teleport lines (or scripts with teleports) without teleporting away again.