Aller au contenu

Photo

problem with setposition (solved)


  • Veuillez vous connecter pour répondre
1 réponse à ce sujet

#1
gordonbrown82

gordonbrown82
  • Members
  • 544 messages
this code executes in a  trigger that places the player on another trigger that starts a cutscene.
           object oWaypoint = GetObjectByTag("wexarch");
            vector vPosition = GetPosition(oWaypoint);
            location lLoc = GetLocation(oWaypoint);
            SetPosition(GetHero(), vPosition, TRUE);

when i have that code and put it in a trigger, the cutscene executes two times immediately after character generation, even though the player is in another room and haven't stepped on the setposition trigger yet. i got this problem with another setposition script and i'm unsure what is causing this to happen.

Modifié par gordonbrown82, 22 avril 2010 - 10:15 .


#2
gordonbrown82

gordonbrown82
  • Members
  • 544 messages
the cutscene was triggered by npc's