Jump to content

Home

Scripting Trouble


Recommended Posts

Yes below this type is indeed a nasty script, but please, bear with me.

 

 

void main() {
   ActionPauseConversation();

vector zPosition=Vector(549.76,53.57,6.95);
location lPC=Location(zPosition,90.0);

vector aPosition=Vector(546.19,55.67,6.51);
location lCarth=Location(aPosition,90.0);

vector bPosition=Vector(546.00,52.66,6.59);
location lBastila=Location(bPosition,90.0);

vector cPosition=Vector(546.00,52.66,6.59);
location lCanderous=Location(cPosition,90.0);

vector dPosition=Vector(546.19,55.67,6.51);
location lHK=Location(dPosition,90.0);

vector ePosition=Vector(546.00,52.66,6.59);
location lJolee=Location(ePosition,90.0);

vector fPosition=Vector(546.19,55.67,6.51);
location lJuhani=Location(fPosition,90.0);

vector gPosition=Vector(546.00,52.66,6.59);
location lMission=Location(gPosition,90.0);

vector hPosition=Vector(546.19,55.67,6.51);
location lT3=Location(hPosition,90.0);

vector iPosition=Vector(546.19,55.67,6.51);
location lZaalbar=Location(iPosition,90.0);

object oPC=GetFirstPC();
object oNPC1=GetObjectByTag("Carth");
object oNPC2=GetObjectByTag("Bastila");
object oNPC3=GetObjectByTag("Cand");
object oNPC4=GetObjectByTag("HK47");
object oNPC5=GetObjectByTag("Jolee");
object oNPC6=GetObjectByTag("Juhani");
object oNPC7=GetObjectByTag("Mission");
object oNPC8=GetObjectByTag("T3M4");
object oNPC9=GetObjectByTag("Zaalbar");

AssignCommand(oPC, JumpToLocation(lPC));
AssignCommand(oNPC1, JumpToLocation(lCarth));
AssignCommand(oNPC2, JumpToLocation(lBastila));
AssignCommand(oNPC3, JumpToLocation(lCanderous));
AssignCommand(oNPC4, JumpToLocation(lHK));
AssignCommand(oNPC5, JumpToLocation(lJolee));
AssignCommand(oNPC6, JumpToLocation(lJuhani));
AssignCommand(oNPC7, JumpToLocation(lMission));
AssignCommand(oNPC8, JumpToLocation(lT3));
AssignCommand(oNPC9, JumpToLocation(lZaalbar));

ActionResumeConversation();

ActionStartConversation(GetFirstPC(),"n_aramil");

}

 

So my trouble with this script is for some reason I cannot ascertain, the ActionStartConversation does not start the conversation. Can anyone help with this?

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...