Jump to content

How do i make companions draw weapons when i do? (UPDATED)


AngelsDefiance

Recommended Posts

Alright, as said before i would like to get all my vanilla companions to draw weapons when i do. i finally have the GECK installed correctly im pretty sure, i updated it, and its currently on my screen with all the options and whatnot.

 

now i know i need code strings like this

 

; check for player's weapon being drawn
If ( HasBeenHired == 1 && Relaxing == 0 && Waiting == 0 && WaitingHome == 0 )
If ( Player.IsWeaponOut == 1 )
CANCandyREF.SetAlert 1
elseif ( Player.IsWeaponOut == 0 && IsInCombat == 0 )
CANCandyREF.SetAlert 0
endif
endif

however I am unsure where I input this code on the geck or where I go with it or what im doing with it.

 

any advice would be greatly appreciated.

Link to comment
Share on other sites

Darksundragon, I have already given you all the information you need for this project in the other thread. If you don't understand I highly recommend reading through those wiki links I gave you. Everything is there.

 

But to recap, now you have the GECK installed, you need to:

 

1. Create an .esp file. Follow the instructions here https://geckwiki.com/index.php/Bethsoft_Tutorial_GECK_Setup in the section Creating Your Plugin.

 

2. Find the NPC you want to change in the Object window of the GECK. Open that NPC's record (r-click, edit) and find where it says 'Script' (top left, third field down), click the button next to that field (three dots). That will open that NPC's script. Insert the code example I gave you for Clover in the other thread using ctrl+v to paste, at the place I mentioned before. Make relevant changes depending on what NPC it is. Save the script using the normal save button at the top of the script window. Do this for every NPC you want to change, altering details as appropriate. Save your plugin.

 

That's it. If you're still not sure read those wikis. Try looking for tutorials and even youtube videos. There's a lot of help out there. Good luck.

Link to comment
Share on other sites

  • Recently Browsing   0 members

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