edited June 2023 in ORK Scripting
I want to Block the movement of ControlMaps( = whole enemy's movement), Camera and player while I'm talking by script.

like this Makinom's function by script.


image

what should I do?
could you tell me??
I'm so sorry to ask the basic scripting.

My Makinom is Ver.2.11.0
ORK Ver. 3.12.0
Unity 2020.3.18f


image

one more Question.

Now I use your example Scene and there is the Setting Box for changing the member.
I don't want to the Leader(The Main Character in the Game) is Remove and changed to other characters.
I just want to fix the Leader at the member.
I tried not to check the box to allow user change but it dosen't work.

What should I do??


image


image


image


image


image
Post edited by YoungA_Cha on
  • Blocking:
    Maki.Control.SetBlockPlayer(1, true);
    Maki.Control.SetBlockCamera(1, true);
    ORK.Control.SetBlockControlMaps(1);


    Unblocking:
    Maki.Control.SetBlockPlayer(-1, true);
    Maki.Control.SetBlockCamera(-1, true);
    ORK.Control.SetBlockControlMaps(-1);



    For locking a combatant, there are 2 options:

    Locking the battle member, i.e. the combatant can't be switched out of the battle group or removed from it. This is done using a Lock Battle Member node, e.g. after joining your combatant to the group/battle group.

    If you want to have a specific combatant running around in the field, independent of who's part of the battle group, you can use the Set Locked Field Leader node.
    Please consider rating/reviewing my products on the Asset Store (hopefully positively), as that helps tremendously with getting found.
    If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
  • Thank you so much!!
    Your explain is perfect and easy to understand!!
    You and your asset really hepled me to make the game :)
Sign In or Register to comment.