bigman28 Posted August 10, 2011 Author Posted August 10, 2011 On 8/10/2011 at 3:10 AM, Glenstorm said: On 8/9/2011 at 10:37 PM, bigman28 said: I got another question... should be short though. what do I put in the result script field to make an NPC attack you when you select that dialogue? something like attack.player ? I don't know. <NPCRef>.AddToFaction <Put a raider/viper faction here> <-- This is the easiest way I could think of.Well... I don't think that would work because this guy is a security chief, so adding him into the raider faction would make the surrounding guards hostile.
Glenstorm Posted August 10, 2011 Posted August 10, 2011 On 8/10/2011 at 3:18 AM, bigman28 said: On 8/10/2011 at 3:10 AM, Glenstorm said: On 8/9/2011 at 10:37 PM, bigman28 said: I got another question... should be short though. what do I put in the result script field to make an NPC attack you when you select that dialogue? something like attack.player ? I don't know. <NPCRef>.AddToFaction <Put a raider/viper faction here> <-- This is the easiest way I could think of.Well... I don't think that would work because this guy is a security chief, so adding him into the raider faction would make the surrounding guards hostile. Create a new faction with Player set as the enemy.Add this faction to your NPC on the result script.
bigman28 Posted August 10, 2011 Author Posted August 10, 2011 (edited) On 8/10/2011 at 3:31 AM, Glenstorm said: On 8/10/2011 at 3:18 AM, bigman28 said: On 8/10/2011 at 3:10 AM, Glenstorm said: On 8/9/2011 at 10:37 PM, bigman28 said: I got another question... should be short though. what do I put in the result script field to make an NPC attack you when you select that dialogue? something like attack.player ? I don't know. <NPCRef>.AddToFaction <Put a raider/viper faction here> <-- This is the easiest way I could think of.Well... I don't think that would work because this guy is a security chief, so adding him into the raider faction would make the surrounding guards hostile.Create a new faction with Player set as the enemy.Add this faction to your NPC on the result script. Ok I put 0400D84F.AddToFaction 0400EC80 , then initiated the dialogue and nothing happened. Edited August 10, 2011 by bigman28
Glenstorm Posted August 10, 2011 Posted August 10, 2011 Just as a cheap hack, add SendAssaultAlarm in the script as well.
bigman28 Posted August 10, 2011 Author Posted August 10, 2011 am I supposed to put this in the result script begin or end?
Glenstorm Posted August 10, 2011 Posted August 10, 2011 On 8/10/2011 at 1:58 PM, bigman28 said: am I supposed to put this in the result script begin or end? I usually put it at the end script. But it shouldn't matter much.
bigman28 Posted August 10, 2011 Author Posted August 10, 2011 On 8/10/2011 at 2:10 PM, Glenstorm said: On 8/10/2011 at 1:58 PM, bigman28 said: am I supposed to put this in the result script begin or end? I usually put it at the end script. But it shouldn't matter much.It still didn't work, do I need a variable? or just SendAssaultAlarm
Glenstorm Posted August 10, 2011 Posted August 10, 2011 (edited) On 8/10/2011 at 2:18 PM, bigman28 said: On 8/10/2011 at 2:10 PM, Glenstorm said: On 8/10/2011 at 1:58 PM, bigman28 said: am I supposed to put this in the result script begin or end? I usually put it at the end script. But it shouldn't matter much.It still didn't work, do I need a variable? or just SendAssaultAlarm Sorry man. I'm out of ideas. Maybe you could try this: <NPCRef>.SendAssaultAlarm Edited August 10, 2011 by Glenstorm
bigman28 Posted August 10, 2011 Author Posted August 10, 2011 On 8/10/2011 at 2:32 PM, Glenstorm said: On 8/10/2011 at 2:18 PM, bigman28 said: On 8/10/2011 at 2:10 PM, Glenstorm said: On 8/10/2011 at 1:58 PM, bigman28 said: am I supposed to put this in the result script begin or end? I usually put it at the end script. But it shouldn't matter much.It still didn't work, do I need a variable? or just SendAssaultAlarm Sorry man. I'm out of ideas. Maybe you could try this: <NPCRef>.SendAssaultAlarmI got it by taking out the "addtofaction" thanks again P.S the mod i'm working on has over 300 hours put into it, and it extends the sierra madre by adding quest, Characters , Locations , Weapons, and allows you to travel back and forth to the Mojave
tnu Posted August 11, 2011 Posted August 11, 2011 sounds good. Will it allow you to restore and use all those resoruces of the Madre that Elijah was plannong on using?
Recommended Posts