Forum rules - please read before posting.

Getting Control Mode from a script?

Hi, I'd need to know the Control Mode (Direct, Point&Click, etc) at various times in my game, but the only way I know to check it would be with an Action List.

Is there some way to access that information from a C# script?

Thank you.

Comments

  • edited September 2021

    In the AC scripting guide (which is awesome) it looks like you can read it from:

  • Any Manager field can be changed at runtime: just right-click the field's label to get an API reference to it that can be used in script.

    Just be aware that such changes will survive exiting Play mode, so your script should also set the intended default value when your game begins.

  • Thank you both!

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.