Forum rules - please read before posting.

Inherit from existing Action?

Hi! My last game had a custom ActionSay action, which inherited from ActionSpeech but provided a couple of extra parameters.

However, when I try to do this now:

public class ActionSay : ActionSpeech

... I get an error: "The Script [whatever] must derive from AC's Action class in order to be available as an Action."

Confirmed that inheriting directly from Action works... but not from ActionSpeech. Has something changed, is there a new way of handling this?

Thanks!

Comments

  • edited February 27

    The workflow should be the same, but it's possible a change was made that prevented this in error.

    I've been addressing similar issues as part of v1.80 - I'll look into this specific case and include a fix for that as well, thanks for raising it.

    If you're willing, I could do with a tester for this release - it's a big one.

  • hah, thanks. happy to help however I can. Feel free to fling me an email dan at size five games dot com :)

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.