Hi there, just a quick question regarding combining the above. I want to put the actions related to opening/closing a drawer within an action list and using parameters so I can reuse the action list on any drawer.
Currently, I have an actionlist in the scene which tracks whether a drawer is open or shut via a local bool variable and changing its movement (close or open) when the player interacts with it based on this variable.
Is this possible to integrate into an actionlist using parameters? If not, is there another way I can set up an actionlist that will support this functionality?
Thanks very much (again)!
Comments
This second method would be easier because you wouldn't need to do any extra work (e.g. create a variable) per Hotspot. The only caveat would be that the Hotspots would need to have the same order of interactions (e.g the first always being open, second being shut). If your Interaction method is set to Context Sensitive, you'd only need to enable/disable the first interaction - the second would only be active if the first isn't. I would recommend trying this on one Hotspot before parameterising it.