bomimo Posted June 6, 2013 Share Posted June 6, 2013 So i've been fiddling with the leveled list long enough to understand that i've no idea what i'm doing. Neither do i know how to script. But i think this is easier with a script than going through the entire games leveled list and NPCs. So if anyone could be kind enough to either teach me or make me a template to work from, that'd be awesome.I need a a script that checks ever NPC for some pieces of equipment (or one of any items in a leveled... object?) and if they have none, places one (again, better if it's the leveled object. Could someone help me? What'd i do if say i wanted a thieves guild hood on every NPC? Link to comment Share on other sites More sharing options...
GrimyBunyip Posted June 6, 2013 Share Posted June 6, 2013 So i've been fiddling with the leveled list long enough to understand that i've no idea what i'm doing. Neither do i know how to script. But i think this is easier with a script than going through the entire games leveled list and NPCs. So if anyone could be kind enough to either teach me or make me a template to work from, that'd be awesome.I need a a script that checks ever NPC for some pieces of equipment (or one of any items in a leveled... object?) and if they have none, places one (again, better if it's the leveled object. Could someone help me? What'd i do if say i wanted a thieves guild hood on every NPC? FORM PROPERTY ObjectToAdd AUTO ACTOR PROPERTY ActorToAddTo Auto IF ActorToAddTo.GetItemCount(ObjectToAdd) < 1 ActorToAddTo.AddItem(ObjectToAdd,1,true) ENDIF now how you get this script to run on every npc is a bit more complicated.why do you want to do this? and why through a script? And why on every last npc in the game?That's kind of a bloat risk, to do it to every last npc via a script. perhaps SkyProc is better for this? Link to comment Share on other sites More sharing options...
bomimo Posted June 6, 2013 Author Share Posted June 6, 2013 (edited) How would i go about pulling it off with Skyproc? I'm really a goddamn greenhorn at this. So thanks for any help. I've taken a look at skyproc and it provides a way to add an item to all existing NPCs but what about those the game creates while you play? Bandits and stuff. Edited June 6, 2013 by bomimo Link to comment Share on other sites More sharing options...
Recommended Posts