Jump to content

Adding Weapons to NPC's


billybob721

Recommended Posts

So i've managed to add some fo3 weapons to the game and have created leveled lists for them to add to NPC's inventories and wrote a script to execute this

 

scriptName AssaultRifleGunquestScript

short finished

begin gameMode

if finished == 0

AddItemToLeveledList FiendInt1WeaponGunNV MyAssaultRifleWithAmmo 0 1 1

AddItemToLeveledList LL2Tier1GunsLegionRecruit MyAssaultRifleWithAmmo 0 1 1

stopquest AssaultRifleGunquest

set finished to 1

endif

if finished == 1

stopquest AssaultRifleGunquest

endif

end

 

How do I test if it's working?

I've tried 'player.placeleveledactoratme 000F1C81' (i beleive that's the fiend code it's what I got from the geck) yet nothing will spawn, is there any other way to test if it will work?

Link to comment
Share on other sites

stopquest AssaultRifleGunquest

 

Don't put a stopquest command in the middle of your script or it will stop everything after it from running.

 

How do I test if it's working?

I've tried 'player.placeleveledactoratme 000F1C81' (i beleive that's the fiend code it's what I got from the geck) yet nothing will spawn, is there any other way to test if it will work?

 

Why not just put one of the actors who you have added the levelled item to in a cell and go to that cell?

Link to comment
Share on other sites

stopquest AssaultRifleGunquest

 

Don't put a stopquest command in the middle of your script or it will stop everything after it from running.

 

Thanks for the heads up

 

Why not just put one of the actors who you have added the levelled item to in a cell and go to that cell?

 

this is a little awkward, how do I do that, is it a drag and drop affair or do I have to do something else? thanks :)

Link to comment
Share on other sites

  • Recently Browsing   0 members

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