How to get the sector tag by the calling actor in ACS?

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
User avatar
revo794
Posts: 158
Joined: Sun Dec 30, 2012 9:33 am

How to get the sector tag by the calling actor in ACS?

Post by revo794 »

Basically the question. Is there an ACS function that returns the tag of the sector which the calling actor is currently in? If not, could it be worked around?
User avatar
Logan MTM
Posts: 678
Joined: Mon Jan 16, 2006 8:53 pm
Location: Rio de Janeiro - Brazil

Re: How to get the sector tag by the calling actor in ACS?

Post by Logan MTM »

User avatar
revo794
Posts: 158
Joined: Sun Dec 30, 2012 9:33 am

Re: How to get the sector tag by the calling actor in ACS?

Post by revo794 »

Sorry, but I don't quite see how that does it. This function requires a sector tag to do some kind of a look-up. I need to get the tag of the sector in which the script calling actor stands. Is it possible right now?
Blue Shadow
Posts: 5046
Joined: Sun Nov 14, 2010 12:59 am

Re: How to get the sector tag by the calling actor in ACS?

Post by Blue Shadow »

Please try to understand what's being asked before you answer.
Post Reply

Return to “Scripting”