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

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

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×