Jump to content

NPCs won't jump


Recommended Posts

At the end a dialog/cutscene, the actors are supposed to jump to their area waypoints. There are four of them in total. Two do as they are supposed to do, but two don't. The two that don't behave correctly have the right orientation and resume their ambient animations as do the two who are behaving as they should, but they absolutely refuse to jump to their waypoint locations no matter how I call the script. I have put it in the cutscene, area, plot, and a direct script called in the dialog, but they just plop down where they're standing.

 

Here's the script called in the dialog:

#include "utility_h"
#include "wrappers_h"

void main()
{
    object oPC = GetHero();
    object oGarel = GetObjectByTag("lhc_sarg_garel");
    object oKaeleigh = GetObjectByTag("lhc_kaeleigh");
    object oReona = GetObjectByTag("lhc_captain_reona");
    object oWilliam = GetObjectByTag("lhc_william");

    UT_LocalJump(oGarel, "wp_garel_home", TRUE, TRUE, FALSE, FALSE);
    UT_LocalJump(oKaeleigh, "wp_kaeleigh_home", TRUE, TRUE, FALSE, FALSE);
    UT_LocalJump(oReona, "wp_reona_home", TRUE, TRUE, FALSE, FALSE);
    UT_LocalJump(oWilliam, "wp_william_home", TRUE, TRUE, FALSE, FALSE);
}

It's plain and simple. There is nothing extravagant about it. Reona and William jump to their waypoints. Kaeleigh and Garel don't. I might would consider distance from the stage position as a factor, but Garel, relatively speaking, only has to jump a few feet at most. I considered maybe a typo because I know my typing stinks, so I copied and pasted the relevant tags. I even tried splitting it up, writing two separate scripts and calling them in two separate lines. It *still* refuses to work. Any suggestions???

 

 

sitting.jpgimage hosting gif

Link to comment
Share on other sites

it's fixed, not like i wanted it fixed, but it's obvious that's not going to happen. changing the position of the waypoint to where it wasn't on the chair fixed it. So, they have new ambient animations....it's not so bad for her, but poor Garel is going to have to stand by his desk for the duration of the mod, eyeing that chair covetously, desperately wanting to get off his poor aching, tired feet. my heart breaks for him.

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...