Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Sign in to follow this  
Planky

ACS - Actor sector

Recommended Posts

Does ACS have a function similar to the FraggleScript command objsector? I'm sure there is - I've checked the zdoom wiki, but my searches don't reveal much.

I need to create a script that checks the z height of the player and whether the sector the player is in has a tag value of x.

Share this post


Link to post

If the player has a unique TID, you can try ThingCountNameSector to count the number of DoomPlayer (adjust for adequate playerpawn class) that are in the sector. If TCNS doesn't work, you can try ThingCountSector with T_NONE and the aforementioned unique TID.

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  
×