Mandalore_The_Great Posted January 7, 2009 Share Posted January 7, 2009 I know this is an old nooby script, but I can't find it anywhere and I forgot it already. Anybody know how to turn three NPCs into HOSTILE_FACTION_1? Link to comment Share on other sites More sharing options...
Stream Posted January 7, 2009 Share Posted January 7, 2009 void main() { ChangeToStandardFaction(GetObjectByTag("tag_of_npc"), STANDARD_FACTION_HOSTILE_1);} ChangeToStandardFaction(GetObjectByTag("tag_of_npc"), STANDARD_FACTION_HOSTILE_1);} ChangeToStandardFaction(GetObjectByTag("tag_of_npc"), STANDARD_FACTION_HOSTILE_1);} } Link to comment Share on other sites More sharing options...
Mandalore_The_Great Posted January 8, 2009 Author Share Posted January 8, 2009 thanks I knew I had a list of common script functions somewhere. I'll be searching for it Link to comment Share on other sites More sharing options...
Det. Bart Lasiter Posted January 8, 2009 Share Posted January 8, 2009 thanks I knew I had a list of common script functions somewhere. I'll be searching for itnwscript.nss Link to comment Share on other sites More sharing options...
Mandalore_The_Great Posted January 9, 2009 Author Share Posted January 9, 2009 thanks jmac, I looked in there before but I couldn't find the right function I tried this script, but it didn't work.... says there's an error in ChangeToStandardFaction is there another way to do it? Edit: Ooh, I think it might've been 'cause you have a } at the end of all of them it works now. Thanks again Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.