Forum rules - please read before posting.

Parameters for Containers

Hey all,

I am trying to make a drag and drop puzzle system for my game. I have a prototype running, but am having problems trying to set parameters for the action lists I am using.

For context, the system is sort of a retooling of the Equipment system the Chris had put on the site. It uses a menu with single slot containers that, when an inventory item is dropped into them, the item is added to a corresponding container within the scene. I then use action lists to check which items are in which containers and modify corresponding variables.

The issue I am having is that I will need to be using the same action list over and over, so I was hoping to use parameters to save time and space, but I can only seem to set the container as a game object parameter which does not work with the container: check action.

I'm sure there is an easy solution to this with so custom scripts, but as coding is not my strong suit, I was hoping there might be a different solution.

Thanks!

Comments

  • edited January 11

    Welcome to the community, @Chucker_Dewer.

    What is your AC version? If you uncheck the Container: Check Action's Affect active container? option, the Container field that then appears should indeed be overridable with a GameObject parameter.

    If you can share screenshots of the ActionList involved, I'll try to spot what's wrong.

  • Thanks Chris,

    You were right. one of the Actions still had the Affect active container? checked. It is working perfectly now.

    Thanks for the quick reply!

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Welcome to the official forum for Adventure Creator.