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

Using ACS_Execute in Decorate

Question

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::

decorate.JPG.4c35386d3b112072de791686e07aa72b.JPG

 

ACS Source::

acs_source.JPG.976b2573bf23dcae2b18c164c2c10ed0.JPG

acs_source.JPG

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
×