PowderdToastMan Posted June 29, 2011 Share Posted June 29, 2011 I've sucessfully created both RR and NCCS companions. I Found the teleporter script found in both DL "Jade" and DL "eve" to be very beneficial as it is an object that simply commands that the companion move to player.It reads like this:---------------scn JadeTeleporterScript Begin OnEquip JadeREF.moveto player End--------------------I've created a new script for my created companion that reads like this:---------------------scn JillTeleporterScript Begin OnEquip JillREF.moveto player End------------------I have ensured that both the id number for the companion and the name are "jill" to aleviate any confusion on my novice scripting ability and when i click the picture of the disk to save, i get nothing. According to my reading, that means that something is wrong in the script and the geck simply wont save b-cuz there is an error? Does anyone know what im doing wrong. Im having trouble copying script too. i highlite the text and am not given a right click option to copy and am unaware of the command to copy. i checked the offical site tutorial and did not come away with much help. Link to comment Share on other sites More sharing options...
Sunnie Posted June 29, 2011 Share Posted June 29, 2011 When you save a new script in GECK, you need to refresh the list in the object browser before you will see it listed. Just click the scripts heading to reload the script listing. If your script doesn't show up after that, then you should try to figure out what went wrong. Link to comment Share on other sites More sharing options...
PowderdToastMan Posted June 29, 2011 Author Share Posted June 29, 2011 @sunnie Yea, its not saving it, which doesnt make sense to me because its an exact mirror of a working script. I even placed the item i meant to script to in the companion inventory hoping that was preventing it from saving and that, of course, wasnt it. Link to comment Share on other sites More sharing options...
Sunnie Posted June 29, 2011 Share Posted June 29, 2011 Well, I just entered that script and it saved just fine. Are you using GECK NV Powerup? It will tell you what the issue is if GECK is failing the compile. Get it here. Link to comment Share on other sites More sharing options...
PowderdToastMan Posted June 29, 2011 Author Share Posted June 29, 2011 @sunnie I'll try that out kudos Link to comment Share on other sites More sharing options...
llamaRCA Posted June 29, 2011 Share Posted June 29, 2011 @PowderdToastMan- You've created a ref of your NPC, yes? Link to comment Share on other sites More sharing options...
PowderdToastMan Posted June 29, 2011 Author Share Posted June 29, 2011 No, im not quite sure how to do that?Im not quite sure what you mean by ref Link to comment Share on other sites More sharing options...
Sunnie Posted June 29, 2011 Share Posted June 29, 2011 llama is talking about the actual NPC Editor ID reference (I believe), which in your case I assume would be the NPC with the Editor ID Jill. Disregard the Form ID number, you will never use that in a script. Link to comment Share on other sites More sharing options...
PowderdToastMan Posted June 29, 2011 Author Share Posted June 29, 2011 Thanks, y'all have been very helpful. I guess this is just a bit beyond my expertise at this point. Is there a better tutorial for basic script creation than bethesda's, theirs assumed you know all the commands? Link to comment Share on other sites More sharing options...
llamaRCA Posted June 29, 2011 Share Posted June 29, 2011 Thanks, y'all have been very helpful. I guess this is just a bit beyond my expertise at this point. Is there a better tutorial for basic script creation than bethesda's, theirs assumed you know all the commands? Sorry, I dropped the ball on the conversation. A reference is what you are using in your script (JillREF). Right now, when you are looking at Jill in the NPC record that's a base occurrence of her. That means she is a kind of generic object. There could be many of her that you could create. You can create a specific occurrence of her by dragging a Jill into a render window of someplace in the gameworld (outside, interior) and giving her a reference (it's a name and often ends in REF which is short for reference and it's why you are using JillREF in the script you've created/copied). So in your script, when you are calling JillREF you are asking that specific Jill to come to you. You could drag and name 10 different Jills and name them JillONEref, JillTWOref, etc and create teleporter objects and scripts for each one and call each of them to you. All of this could be done from the one NPC Jill object that you have created. The ref of each one is how they are distinguished and what you are using in your script. If you haven't created that reference for your Jill that's why your script is failing. Link to comment Share on other sites More sharing options...
Recommended Posts