How to prevent character to walk?

  • #1, by AkcayKaraazmakWednesday, 09. September 2015, 00:20 9 years ago
    Hello,

    How I can prevent my character not to walk when user clicks. I want the character just to stay in the idle position even the user click anywhere in the scene.

    Thnak yousmile

    Great Poster

    440 Posts


  • #2, by afrlmeWednesday, 09. September 2015, 00:56 9 years ago
    Is the character always in a specific position on the scene? or do you intend to prevent the character from walking from whatever position they are currently located?

    One option is to create a way system with a very small border of a few px around the position of where the character will be. The other option which I think is the better option is to simply replace the playable character with an npc version of the character. Temporarily teleport an npc character into the position of the playable character & teleport the playable character to another scene, then in reverse for when you want to be able to control the character again.

    P.S: I'm hoping at some point that one of the devs will be able to provide an action part option or at least a VS data structure field that can be accessed via Lua script for determining when the engine should ignore the update character destination function, as it would definitely simplify the whole thing.

    Imperator

    7278 Posts

  • #3, by AkcayKaraazmakWednesday, 09. September 2015, 01:07 9 years ago
    Hello Lee,

    I also tried to make a very small border and put the character inside but then character goes anywhere on the screen. I will try your second solution matesmile

    Great Poster

    440 Posts

  • #4, by AkcayKaraazmakWednesday, 09. September 2015, 01:13 9 years ago
    Hey Lee, second solution also didnt work mate. I didnt assign any walk anims just idle ones. But now when you click, it still moves the character but just without any walk animation :\

    Great Poster

    440 Posts

  • #5, by afrlmeWednesday, 09. September 2015, 01:14 9 years ago
    Actually as a thought, you could also just change the current playable character to another character, but that character would also have to have the same inventory items added / removed from the inventory & the same interfaces associated with the character. For the inventory stuff you could use the give all items to x character action part.

    Imperator

    7278 Posts

  • #6, by AkcayKaraazmakWednesday, 09. September 2015, 01:15 9 years ago
    Sorry, I untick the slide walking anim and now its not moving but it still turns and alligns the rotation angle of the character.

    Great Poster

    440 Posts

  • #7, by AkcayKaraazmakWednesday, 09. September 2015, 01:17 9 years ago
    I just made another outfit and assigned that character to that scene that I dont want the character to move. I only assign the idle animations to the char. But it still rotates when I click somewhere on the scene.

    Great Poster

    440 Posts

  • #8, by afrlmeWednesday, 09. September 2015, 01:32 9 years ago
    Hmm by npc I'm talking about a non playable character. If the npc is not the current playable character then it should not do anything when you click the mouse unless you manually tell it to with the animation or character action parts.

    Imperator

    7278 Posts

  • #9, by AkcayKaraazmakWednesday, 09. September 2015, 01:37 9 years ago
    But because I use 3d characters, then I can not load them as npc as normal animation object. Only way to load 3d characters is from the outfit panel and when I do that it will have the motions.

    Great Poster

    440 Posts

  • #10, by afrlmeWednesday, 09. September 2015, 01:43 9 years ago
    But you have NPC's in the game no? Just duplicate your playable character. Remove the start position from the properties tab. Then swap the 2 characters in the game as needed but don't set the npc character as the active character.

    Imperator

    7278 Posts

  • #11, by sebastianWednesday, 09. September 2015, 11:13 9 years ago
    you could overlay the whole scene with a transparent interface. This prevents the character moving but it also prevents that the mouse can hover objects in the scene...

    Thread Captain

    2346 Posts