Jump to content

Need help on adding feature to my mod (Project MLG)


nofaceuzu

Recommended Posts

I need help on adding a feature in the next update for my mod Project MLG (link to mod here:

http://www.nexusmods.com/skyrim/mods/61807). How would you add a text dialogue option that triggers combat? What I mean by that is I want to add one that says "1v1 me quickscopes you scrub" and then the person you said that to responds by saying "u w0t m8? ill rek u into oblivion" ,then combat starts between you and the npc. Respond quickly because i'm working on the new update hastily.

 

Link to comment
Share on other sites

 

In the response, you add this piece of code to the End dialogue fragment:

akSpeaker.StartCombat(Game.GetPlayer())

Thanks for the quick response but I need help on how to write the whole script. But that piece of information will help me a bit.

Link to comment
Share on other sites

That's the only script. That's it. You add it to the End dialogue fragment of the dialogue response where they should attack and press the big compile button. That is literally it.

Sorry, I worded my post wrong. What I mean is how do I make an entirely new dialogue option (ex: "can you do something for me?"). But i would also want it to start combat like I said. I'm new to scripting and creation kit. I use notepad ++.

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...