sharps91 Posted August 29, 2011 Share Posted August 29, 2011 I have been creating a couple of sets of dialogue for testing purposes. In this case I was wondering how I would create an option that, when chosen, the NPC would say a line, exit the dialogue and then attack the player automatically. In addition to this I was wondering where modders learnt about coding scripts in New Vegas etc. as it would be an invaluable skill as i progress. Thanks Link to comment Share on other sites More sharing options...
Quetzlsacatanango Posted August 29, 2011 Share Posted August 29, 2011 Create your infoTick the goodbye tab, this will cause dialog to exit after it is spoken.In the result script box, put myNPCref.startcombat player where myNPCref is the refID of your NPC. Link to comment Share on other sites More sharing options...
sharps91 Posted August 29, 2011 Author Share Posted August 29, 2011 Create your infoTick the goodbye tab, this will cause dialog to exit after it is spoken.In the result script box, put myNPCref.startcombat player where myNPCref is the refID of your NPC. Ok, So I done all that but its now saying: Operation cannot be completed because:Info (0100C94F) results script failed to compile Any ideas on what this means? Link to comment Share on other sites More sharing options...
Quetzlsacatanango Posted August 29, 2011 Share Posted August 29, 2011 What is your NPC's refID and what did you put in the result script box? Link to comment Share on other sites More sharing options...
sharps91 Posted August 29, 2011 Author Share Posted August 29, 2011 What is your NPC's refID and what did you put in the result script box? My NPC's RefID is "MyModCarlos" and I added "MyModCarlos.startcombat player" to the results script box. Any ideas? Link to comment Share on other sites More sharing options...
Quetzlsacatanango Posted August 29, 2011 Share Posted August 29, 2011 Assuming you didn't include the quotes, try running with geck power up. There should be another message showing what part it doesn't understand. Are you sure MyModCarlos is the refID and not the baseID? Link to comment Share on other sites More sharing options...
sharps91 Posted August 29, 2011 Author Share Posted August 29, 2011 (edited) Assuming you didn't include the quotes, try running with geck power up. There should be another message showing what part it doesn't understand. Are you sure MyModCarlos is the refID and not the baseID? When I edit the base the name in the ID tab is MyModCarlos. I take it that's RefID? Also how do I actually run the PowerUp features?I have launched it with the specific exe yet I see no tab to open it. Edited August 29, 2011 by sharps91 Link to comment Share on other sites More sharing options...
Quetzlsacatanango Posted August 29, 2011 Share Posted August 29, 2011 No.Go to where you placed him in the world. Double click him. At the top it will say 'Reference Editor ID'. Whatever is in that box is the RefID. If it is blank, type something in such as MyModCarlosRef and hit ok. Then try again. Link to comment Share on other sites More sharing options...
sharps91 Posted August 29, 2011 Author Share Posted August 29, 2011 No.Go to where you placed him in the world. Double click him. At the top it will say 'Reference Editor ID'. Whatever is in that box is the RefID. If it is blank, type something in such as MyModCarlosRef and hit ok. Then try again. IT WORKED! Thanks you so much. Link to comment Share on other sites More sharing options...
Recommended Posts