Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

ACS Conditions

Recommended Posts

Can anyone point me in the direction to a decent ACS tutorial that helps with Conditional scripting? Y'know like If, else etc. it's been a while (two years) since I was activly mapping and can't remember a lot of stuff.

What i'm trying to do at the moment is have a sector that slowly gives the player health when inside the sector.

Can anyone help?

Share this post

Link to post

Well, there is the Sector_Heal sector type, which would involve no scripting at all. You can't change the behavior of it, but maybe you should see if it already does what you want, before resorting to scripting.

Share this post

Link to post

I couldnt find "sector_heal". But I tried the "Sector_setdamage" in ACS but reveresed it so it had -10 damage...That half worked...It gave the player +10 armour, going above maximum. But I need health and for it to not go above maximum.

Share this post

Link to post

Sector_SetDamage is a linedef special.

Sector_Heal is a sector special. You access it in sector mode by selecting the sectors and opening their properties dialog. Its number is 196 (decimal). If you can't find it, you're probably in the wrong editing mode.

What source port are you designing your wad to work with?

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