CUSTOM MONSTER THAT THROWS PROJECTILE THEN SWITCHES PLACES WITH IT [UNRESOLVED/WIP]
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!)
-
Psychojack88
- Posts: 54
- Joined: Sat May 07, 2022 10:12 pm
- Graphics Processor: nVidia (Modern GZDoom)
CUSTOM MONSTER THAT THROWS PROJECTILE THEN SWITCHES PLACES WITH IT [UNRESOLVED/WIP]
I am trying to form a code for a custom monster that throws a projectile, and the moment the projectile reaches a certain distance, the projectile "dies"), the monster immediately switches positions with the thrown projectile, serving as a controlled teleport that can make for interesting evasive maneuvers. Anyone know how this would as a tracer, to track the position of a projectile actor before sending the custom monster to that position when the projectile enters its Death state?
Last edited by Psychojack88 on Fri Oct 24, 2025 11:09 am, edited 1 time in total.
-
Psychojack88
- Posts: 54
- Joined: Sat May 07, 2022 10:12 pm
- Graphics Processor: nVidia (Modern GZDoom)
Re: CUSTOM MONSTER THAT THROWS PROJECTILE THEN SWITCHES PLACES WITH IT
Revisiting this post to see if anyone can tell me how to make a monster detect the position of its target monster before using a state in ZScript that would be the main bare bones foundation for this to work. The rest I can experiment to see if I can figure out the rest.