Jump to content

Help with creating a more complex quest and scripts


bigman28

Recommended Posts

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.

Link to comment
Share on other sites

  • Replies 82
  • Created
  • Last Reply

Top Posters In This Topic

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.

Link to comment
Share on other sites

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 by bigman28
Link to comment
Share on other sites

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

Link to comment
Share on other sites

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 by Glenstorm
Link to comment
Share on other sites

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

I 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

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.

×
×
  • Create New...