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

Quick DECORATE question...

Recommended Posts

I am trying to make my actor activate a script that is in my map.
The idea is that the script will activate when this particular actor is killed.
I have looked for the code all over the zdoom documentation and have found nothing except ACS_Execute which isnt a decorate function.

Can anyone help me out please?

Share this post


Link to post

I believe you can set ACS_Execute (or any other action) to be that thing's action in Doom Builder or whatever map editor you're using, and it'll execute that action when it dies.

Share this post


Link to post

Yeah you can, but the problem is, the monsters will respawn at a certain time and when they respawn they wont have that flag. I need to be able to add that into the decorate code so that every actor will have that flag by default.

Share this post


Link to post

You still can use ACS_Execute in DECORATE - but better use ACS_ExecuteAlways because ACS_Execute may not be called if 2 monsters die at the same time.

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  
×