Note: LucasForums Archive Project
The content here was reconstructed by scraping the Wayback Machine in an effort to restore some of what was lost when LF went down. The LucasForums Archive Project claims no ownership over the content or assets that were archived on archive.org.

This project is meant for research purposes only.

Scripting Trouble

Page: 1 of 1
 Fallen Guardian
05-09-2011, 8:48 PM
#1
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?
 JebusJM
05-09-2011, 9:12 PM
#2
This is a complete shot in the dark, but I owe you from your help in my modding thread:

Would it be more simple to remove the ActionResumeConversation and just have the StartConversation?
 newbiemodder
05-09-2011, 11:09 PM
#3
Is this script at the end of one dialog and you want to start a new one? Try putting a Delay on the new ActionStartConversation
 Fallen Guardian
05-10-2011, 12:35 AM
#4
This is the onenter script of a trigger.
 TimBob12
05-10-2011, 2:20 AM
#5
If its a trigger why are you trying to resume conversation and then start a new cinversation?
 Fallen Guardian
05-10-2011, 9:51 AM
#6
I honestly have no idea. most likely a copy and paste error. I'll get rid of that.
 TimBob12
05-10-2011, 4:16 PM
#7
There must surely be an easier way to spawn the party than this... I feel a new function coming on, but what parameters?
 Fallen Guardian
05-10-2011, 6:13 PM
#8
Well it's not really to spawn your party members, it's to move them to a certain spot.
 TimBob12
05-11-2011, 2:20 AM
#9
Oh ok
Page: 1 of 1