Page 2 of 2

Re: User control - mouse wheel zoom in and out

Posted: Thu Feb 29, 2024 2:52 am
by JamesDillon
I found a solution.

I noticed that Chris from Adventure Creator has suggested to developers wanting to disable AC movement to modify 'kickstarter'. Within GameEngine -> Kickstarter is a 'Turn AC on/off' function that can added to On Page Opened and Closed. That did the trick:

Image

With AC + Intrigues movement and menu integration now fixed, I can focus on learning how Intrigues works within the demo.

I look forward to any tutorials you publish, as well as the introduction of a clan voting systems (and maybe non-marriage oriented political factions?).

Cheers.

Re: User control - mouse wheel zoom in and out

Posted: Sat Mar 02, 2024 9:58 pm
by JamesDillon
Advice provided by Chris at Adventure Creator, for completeness:

"You can halt the Player by calling the Player component's Halt function.

This can be called through code with:

AC.KickStater.player.Halt ();

Since the Player is spawned/assigned at runtime, however, you can't assign this in a Unity Event Inspector.

What you can do, however, is run an ActionList asset that halts the Player instead.

If you create an ActionList asset that runs a Character: Move along path Action, check Is Player? and set its Method to Stop Moving. Then have your Unity Event run this asset's Interact function.

If you want to also disable other AC systems (e.g. Movement and Interaction, to prevent the Player from being able to move while the page is open), you can then also add an Engine: Manage systems Action."