Jump to content

Home

Party Member Issue


Fallen Guardian

Recommended Posts

Alright, so I've been attempting to use a script much like this:

 

void main()
{

vector aPosition=Vector(513.12,30.76,6.85);
location lPM1=Location(aPosition,299.29095);


DelayCommand(4.0, AssignCommand(GetPartyMemberByIndex(1), JumpToLocation(lPM1)));

}

 

 

Now it all works fine, the party member warps to the vector without any issues. However, once the party member is at the vector it moves away from where I warped it and towards the PC. I can't have the party member doing this as this is a cutscene, so is there a way to make a party member stop following the PC for the duration of a cutscene, or turn on/off solo mode through a script?

 

EDIT: So I found a mention of solo mode while looking through the KotOR tool script editor, but I have no idea how to use the function correctly.

 

Here it is:

 

// 753: SetSoloMode
// Activates/Deactivates solo mode for the player's party.

void SetSoloMode( int bActivate );

 

How would I use this properly?

 

EDIT 2:

 

Nevermind everyone, I have figured it out.

 

In case anyone is interested, the script would look like this:

 

void main()
{

SetSoloMode(TRUE);

}

 

If a mod could close this thread that would be much obliged.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...