SGTbayk47 Posted August 26, 2014 Posted August 26, 2014 (edited) Hi, Whilst working on my mod I encountered a problem with one of my scripts. I know it tells me that .enable is an unknown command and I can't find if it is different in New Vegas anywhere. I was sure that you can use .enable. Any help will be greatly appreciated :D PS - I think this is where I should post this, if not let me know. EDIT: I found another problem regarding AI Packages. My NPC, once enabled, comes upto the player and engages in dialogue. After dialogue, if you persuaded him not to kill you he is meant to switch packages. This is where the problem comes in. The NPC DOES switch packages however he doesn't execute them properly. He is meant to sit in a chair but instead stands in the spot that he was in when initially disabled. I know the package changed because if you wait he teleports to and sits in the chair, only to get up and walk back to his spot again. Hopefully you can understand my problem from this paragraph :) Once again help will be much appreciated :D Edited August 26, 2014 by SGTbayk47
Ladez Posted August 26, 2014 Posted August 26, 2014 You should never prefix references with numbers, the script compiler cannot interprect it correctly.
SGTbayk47 Posted August 26, 2014 Author Posted August 26, 2014 Thanks, That was a lot simpler than I thought it would be.
SGTbayk47 Posted August 26, 2014 Author Posted August 26, 2014 While I'm at it I've encountered another small problem, I think it is caused by the NPC being initially disabled. I fully set up the dialogue and conditions for the packages and got them to switch over, but the NPC doesn't sit in the designated chair. The package is set up correctly, I know because I double checked in the GECK and when you wait in-game the NPC teleports to and sits in the chair. But after this he gets up and walks back to his position where he was disabled and just stands there. Any ideas?
Recommended Posts