Hello there' !
First of all, I would like to precise that i'm french and my english is not very good. Sorry, I'll do my best and I thank in advance everyone who will help me ... 😥
For a movie that I realize, I want to create a conversation with PC and NPC, because a static monolog isn't interesting.
I'm love making video since many years... but I don't have any abilities in script. I have read lot of tutorials from Lucasforum archives and here... but really, i can't do it. I don't understand what I must do, and it's horrible because I make some effort to learn.
For example, in KotOR1, I want that Carth walk to the window of the Hideout when he says « I'm Carth, one of the republic soldiers from the Endar Spire [...]»
My script, created and compiled with Kotor scripting tool, called "C_walk" is in the Override folder.
void main () {
object oNPC=GetObjectByTag("p_carth");
float x=85.9;
float y=146.6;
float z=0.0;
int bRun=FALSE; //If set to TRUE, the NPC will run to the location.
vector vPoint=Vector(x,y,z);
location lPoint=Location(vPoint,0.0f);
ActionDoCommand(SetCommandable(TRUE,oNPC));
AssignCommand (oNPC,ActionForceMoveToLocation(lPoint,bRun));
}
and in the " tar02_carth022.dlg " file ...................
And nothing is working. Could you help me, please ?
If someone could give me a complete example (because tutorials often use other skills that are not detailed ...), or guide me to success, it would be great.
Again, thank you in advance.
LS.59