kert349 Posted January 31, 2011 Share Posted January 31, 2011 Hii was using the placeAt command to spawn NPCs but at some point in development of my mod they all become essential. i dont know is it because i messed with the startup script and changed the player to start from my mod's location. (NPC placed in editor are not essential) Anyideas? Link to comment Share on other sites More sharing options...
Fonger Posted January 31, 2011 Share Posted January 31, 2011 before you get too deep into this try placeatme three times you'll make 3 new copies of the NPC meaning - you may be using the wrong command for your purpose Link to comment Share on other sites More sharing options...
kert349 Posted January 31, 2011 Author Share Posted January 31, 2011 before you get too deep into this try placeatme three times you'll make 3 new copies of the NPC meaning - you may be using the wrong command for your purpose sorry i dont quite follow. im using the command to create 1-X amount of NPCs. they werent essential first but not something in my mod changed that. Link to comment Share on other sites More sharing options...
rickerhk Posted February 1, 2011 Share Posted February 1, 2011 before you get too deep into this try placeatme three times you'll make 3 new copies of the NPC meaning - you may be using the wrong command for your purpose sorry i dont quite follow. im using the command to create 1-X amount of NPCs. they werent essential first but not something in my mod changed that. If one of the spawned NPCs became set as a teammate, I wonder if all NPCs spawned from the same base object would be set essential, since the function works on the base object? Link to comment Share on other sites More sharing options...
kert349 Posted February 1, 2011 Author Share Posted February 1, 2011 before you get too deep into this try placeatme three times you'll make 3 new copies of the NPC meaning - you may be using the wrong command for your purpose sorry i dont quite follow. im using the command to create 1-X amount of NPCs. they werent essential first but not something in my mod changed that. If one of the spawned NPCs became set as a teammate, I wonder if all NPCs spawned from the same base object would be set essential, since the function works on the base object? Actually they are all teammates. but team mates are not suposed to be essential?? Link to comment Share on other sites More sharing options...
davidlallen Posted February 1, 2011 Share Posted February 1, 2011 Teammates are always essential unless you are playing in hardcore mode. Link to comment Share on other sites More sharing options...
kert349 Posted February 1, 2011 Author Share Posted February 1, 2011 (edited) Teammates are always essential unless you are playing in hardcore mode. Oh its the hardcode That does it!i disabled it only because i was testing. Edited February 1, 2011 by kert349 Link to comment Share on other sites More sharing options...
kert349 Posted February 4, 2011 Author Share Posted February 4, 2011 It seems I need SetRefEssential command, because SetEssential does not seem to do anything for Refs. Oblivion script extender had this but whats the case with NV? anyone? Link to comment Share on other sites More sharing options...
davidlallen Posted February 4, 2011 Share Posted February 4, 2011 In FNV, setessential is applied to an NPC, not a ref. I am using setessential on NPCs, and it works fine. Do you need to have two instances of the same NPC, one essential and one not? Otherwise it seems you can just use setessential on the NPC and it should work. Link to comment Share on other sites More sharing options...
kert349 Posted February 4, 2011 Author Share Posted February 4, 2011 (edited) The NPCs are set essential because of setTeammate. so the essential flag in the editor is ignored and hence I need SetRefEssential command. Edited February 4, 2011 by kert349 Link to comment Share on other sites More sharing options...
Recommended Posts