Login / Registrieren
DE EN FR ES IT CZ
Zurück Nach oben

How to prevent character to walk?

  • #1, by AkcayKaraazmak 11 years ago Zitieren
    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
  • #2, by afrlme 11 years ago Zitieren
    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.
  • #3, by AkcayKaraazmak 11 years ago Zitieren
    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
  • #4, by AkcayKaraazmak 11 years ago Zitieren
    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 :\
  • #5, by afrlme 11 years ago Zitieren
    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.
  • #6, by AkcayKaraazmak 11 years ago Zitieren
    Sorry, I untick the slide walking anim and now its not moving but it still turns and alligns the rotation angle of the character.
  • #7, by AkcayKaraazmak 11 years ago Zitieren
    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.
  • #8, by afrlme 11 years ago Zitieren
    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.
  • #9, by AkcayKaraazmak 11 years ago Zitieren
    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.
  • #10, by afrlme 11 years ago Zitieren
    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.
  • #11, by sebastian 11 years ago Zitieren
    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...