Detect when other actor teleports

Ask about ACS, DECORATE, ZScript, or any other scripting questions here!
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!)
Post Reply
Ershantik
Posts: 19
Joined: Sat Dec 23, 2023 4:04 am
Preferred Pronouns: No Preference
Operating System Version (Optional): Windows 7

Detect when other actor teleports

Post by Ershantik »

Is there any way to have one actor detect when another actor teleports? I asked for help on a grappling hook a little while ago, and while that's been going well, I can't solve this issue of the hook staying attached to the same point when the player teleports.

I know MetaDOOM has their own version of the meathook, so I checked to see how they handle this, and they seem to use a PreTeleport override on the super shotgun, but that isn't working for me and I don't know why.
Post Reply

Return to “Scripting”