Orange "Move Character To"

● ARCHIVED · READ-ONLY
Started by Hudell 69 posts Page 4 of 4 View original ↗
  1. I just went on to test the OrangeMoveCharacterTo plugin and turns out it does wait for the movement to finish before running the next command in the move route.

    XGuarden said:
    Can we use region ID to block NPC from walking in some place.


    Becaus they look for shortest way, but that also mean they will walk on grass instead of using road. 


    So putting a specific region_id will block them from walking where it's not beauty.


    Thanks.


    I guess the best idea was to give to npc a existing path with a specific region id and he follow it and do pathfinder inside autorized path. Only mov outside the path if require. That will drasticaly lower computation requirement no?
  2. Hudell said:
    ok, but did using that will make the path finder faster? Also,  maybe giving a default path with region id will make it run so much faster too.
  3. You said: I just went on to test the OrangeMoveCharacterTo plugin and turns out it does wait for the movement to finish before running the next command in the move route.


    So any idea what happen in the video I post above?


    I find out... did't comming from your script.
  4. Judging by the video alone I don't really know. Only thing I noticed was that you selected "Matin", but the move route you showed used a variable with the word "Jour". Is that correct? If it is, I'll need a small demo project to see the issue happening here.
  5. Hudell said:
    Judging by the video alone I don't really know. Only thing I noticed was that you selected "Matin", but the move route you showed used a variable with the word "Jour". Is that correct? If it is, I'll need a small demo project to see the issue happening here.



    I solved it, in fact I selected the animation of sleeping as caracter, but this animation did have turn left right, etc.. So each time character turn it,s disapear. It's 100% my mistake lol.


    But did you think that using block region will make faster moveto?
  6. So I might be overthinking this, but is there a way to set the X and Y to call variables? I'll explain.


    I have a tool, Arcane Warp, that allows you to fire an arcane ball at specific runes and it will teleport you to that rune. Until now I've just used 'transfer player', but that's quite time consuming.


    With your plugin I was hoping to be able to have a common event with "Control Variable: Arcane Port X = Map X of this event" and "Control Variable: Arcane Port Y = Map Y of this event" and then have your plugin call those 2 variables and move the player to those X and Y coords. The player would be invisible and have 'through' on for the movement.
  7. XGuarden said:
    I solved it, in fact I selected the animation of sleeping as caracter, but this animation did have turn left right, etc.. So each time character turn it,s disapear. It's 100% my mistake lol.


    But did you think that using block region will make faster moveto?

    Only way to know for sure is testing it.

    Servidion said:
    So I might be overthinking this, but is there a way to set the X and Y to call variables? I'll explain.


    I have a tool, Arcane Warp, that allows you to fire an arcane ball at specific runes and it will teleport you to that rune. Until now I've just used 'transfer player', but that's quite time consuming.


    With your plugin I was hoping to be able to have a common event with "Control Variable: Arcane Port X = Map X of this event" and "Control Variable: Arcane Port Y = Map Y of this event" and then have your plugin call those 2 variables and move the player to those X and Y coords. The player would be invisible and have 'through' on for the movement.

    You just want to change the player position? You don't even need my plugin nor the variables, just add this script call to teleport the player to the position of the event:

    Code:
    $gamePlayer.copyPosition($gameMap._interpreter.character(0));
  8. I knew I was overthinking this. lol... I don't know much about stock script calls. Still love your plugin for spirits that I have wandering around in my crypts!


    Thank you very much for the help. :)
  9. Hey there! Can't seem to figure out, why the events still walk, even when I am talking to them. It only happens with this plugin. It works as intended, when I set them to random movement.
    For example: NPC 1 is moving from 47,23 to 30,15 after that, the switch for page 2 activates.

    But I want to be able to talk to them, even tho they are walking to the destination. I can, kinda, but the do not stop and look at the player.
    The just stop, when I am right infront of them. The switch doesnt activate, until the NPC is at the desired location.

    How can I fix this?