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

Using ACS_Execute in Decorate


I am trying to create stackable backpacks, and the easiest implementation is to use ACS scripts rather than decorate. I would like to edit the backpack in decorate so that it executes the ammo adjustment scripts upon pickup, using "ACS_Execute", which can be done according to the zdoom wiki ( https://zdoom.org/wiki/ACS_Execute ). It doesn't seem to be working, and there isn't even an error message when I pickup the backpack. The script isn't being called at all.


I am able to get the script to work by manually placing "ACS_Execute" on each backpack, and the script works as intended, but I would like to figure out how to get "ACS_Execute" to work in decorate. It will be easier for me to import and remove thing resources into doom builder if i can figure out how to use this feature. I am new to ACS and Decorate so let me know if there are any glaring problems, thanks!


My Decorate Script::



ACS Source::



Edited by Blue_Juice_ : Accidently added an extra image

Share this post

Link to post

3 answers to this question

Recommended Posts

  • 0

The only items executing the "Pickup" state are those derived from CustomInventory.
Backpack is not one of those items.

Share this post

Link to post
  • 0

I don't know if this will solve your problem but you need brackets for the else condition in the second script since it's multiline, otherwise it executes Clip as the command for else and then does the other three as separate commands.


You could also try using ACS_NamedExecuteWithResult instead.

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