Jump to content
ℹ️ Intermittent Download History issues ×

Is there a mod to spawn Npcs?


miked79

Recommended Posts

I know you can spawn them from console command with putting in the correct number for the npc you want... But I was wondering if theres a simpler way to do it. So i dont have to have 50 ..8 digit numbers to memorize :)

 

Thanks!

Link to comment
Share on other sites

Depends if you care if they are random or the same one over and over.

 

 

If you make a Magic Effect with Concentration type and have it scripted...

 

Scriptname SpawnScript extends ActiveMagicEffect  

ACTORBASE property Spawn auto
ACTOR property Caster auto

EVENT onEffectStart(ACTOR akTarget, ACTOR akCaster)
Caster = akCaster
registerForUpdate(0.5)
ENDEVENT

EVENT OnUpdate()
Caster.placeAtMe(Spawn) ; OnUpdate is automatically unregistered on effect finish
ENDEVENT

 

I actually tried to make a dog launcher out of this lol. Apparently the game doesn't like it when I apply a HavokImpulse or a PushActor at load time... I attached an OnLoad to the Actor I was throwing, thats actually when I called the impulse/pushactor, game just crashes immediately unfortunately :( guess it really isn't ready for manipulation like it says.

Edited by expired6978
Link to comment
Share on other sites

  • Recently Browsing   0 members

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