tsdobbi Posted July 11, 2020 Share Posted July 11, 2020 I am creating a new leveled list of custom NPC's. Basically just following how the bandits are done. My NPC's have a script attached to them. When I first created the leveled list and tried to add them via the object list, they didn't show up. So I did some playing around and found, it I removed the script, they could be added to the leveled list. I'm guessing it's impossible to have NPC's with a script added to a leveled list? Which would suck, because the script is kind of needed for what I am trying to achieve. Basically, kind of like a bounty hunter, a leveled NPC will hunt down the player. However I have a scripted event for the onDeath of the NPC. Link to comment Share on other sites More sharing options...
cumbrianlad Posted July 11, 2020 Share Posted July 11, 2020 No, scripts can be on levelled actors. Example: any 'LVLVigilantOfStendarr' The fault lies elsewhere. Link to comment Share on other sites More sharing options...
tsdobbi Posted July 12, 2020 Author Share Posted July 12, 2020 (edited) No, scripts can be on levelled actors. Example: any 'LVLVigilantOfStendarr' The fault lies elsewhere. Im inclined to think it doesn't, because if I remove the script I can add it to a lvled list. If I add the script back I cant. The only difference is the script being there or not. Edited July 12, 2020 by tsdobbi Link to comment Share on other sites More sharing options...
tsdobbi Posted July 12, 2020 Author Share Posted July 12, 2020 (edited) To clarify 'LVLVigilantOfStendarr' does have a script attached, but if I look at the use info it is not in any leveled character lists. Edited July 12, 2020 by tsdobbi Link to comment Share on other sites More sharing options...
cumbrianlad Posted July 12, 2020 Share Posted July 12, 2020 I misunderstood. Sorry. I thought you couldn't attach scripts to a levelled actor. I don't know then. I'll dig around a bit next time I'm in CK. So you can't just add this script to a levelled actor, like any ambush actor and in the template data un-check 'Use Script'? Link to comment Share on other sites More sharing options...
tsdobbi Posted July 17, 2020 Author Share Posted July 17, 2020 I misunderstood. Sorry. I thought you couldn't attach scripts to a levelled actor. I don't know then. I'll dig around a bit next time I'm in CK. So you can't just add this script to a levelled actor, like any ambush actor and in the template data un-check 'Use Script'? What I ended up doing was just writing a script to spawn them using a random number generator to make then vary. Link to comment Share on other sites More sharing options...
cumbrianlad Posted July 17, 2020 Share Posted July 17, 2020 Great that you got it to work. Link to comment Share on other sites More sharing options...
Recommended Posts