Jump to content

Spawning Script Problem


GilgameshNoborosuke

Recommended Posts

Okay, the script didn't work and somehow it work randomly and very rare like 0.1% of the whole tests. :wacko:

 

The Scripts was meant for my never ending battlefield (For personal use only, until somebody requested it.) I've used many scripts from many mods that spawn NPCs & Creatures like the WARZONES - now with ADJUSTABLE SPAWNS by MyGoodEye, and many others.

 

I've tried to let the game cleans up the bodies it self and pretty much good, bit too long though... :tongue:

 

Currently my PC broke down :wallbash: and I'm using my Sister's laptop to test any possible script to clean the dead bodies after an hour or two.

 

So, expect me to reply a little bit late because I don't have all the time with the Laptop :tongue: .

 

Actually, I learned something interesting about GetSelf yesterday. If you call it on a dynamic reference (such as your spawning NPCs which I did earlier) it tends to bollix up and causes all kinds of fun'n'exciting things to happen. Fun'n'Exciting things being things you didn't want to happen adn the sorts of things that cause CTD, etc. SO, that script isn't going to work, but let me think... Okay.

 

Here is what I would do.

 

Make a quest. We'll call it DummyMyQuestSpawnControl. Make the quest script like so:

 

scn DummyscptQstSpawnCtl

ref rSpawn01
ref rSpawn02
ref rSpawn03
...etc

Begin GameMode

if rSpawn01.GetDead
	rSpawn01.Disable
	rSpawn01.MarkForDelete
endIf
if rSpawn02.GetDead
	rSpawn02.Disable
	...etc

end

 

Make your spawnscript like so:

 

scn MySpawnScript

Begin whenever

Set DummyMyQuestSpawnControl.rSpawn01 to rSpawnPoint.PlaceAtMe rNPC

end

 

Make sure your spawn control quest gets started after the battle You can add a timer in there and all that, too.

Link to comment
Share on other sites

  • Recently Browsing   0 members

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