jonisame Posted February 29, 2008 Share Posted February 29, 2008 I have some issues having with enemy spawn script and sick of guessing the problem :wallbash: ....I have tried two kinds of quest scripts they work for one time but thats it my first idea was that every day there would be a change that there might come new enemies in the enemies base and the script goes like follows Begin Gamemodeif AA == 0set enemyReinforce to GameDaysPassed + 1set AA to 1elseif enemyreinForce <= GamedayspassedEnemyBaseSpawn.PlaceAtMe AAEnemy1EnemyBaseSpawn.PlaceAtMe AAEnemy2and so..set AA to 0endifend this doesnt have random percent thing but i was going to add onethis works so that every time you start game you wait one day and these guys appear as they should but... there will be no second coming untill i restart oblivoin and continue from autosave the second one is based on idea that every time you recruit the enemy might recruit and the script i tried is follows Begin Gamemodeif AA == 0set Enemyrand to GetRandompercentset AA to 1endifif EnemyReinforce == 1if EnemyRand <33EnemyBaseSpawn.PlaceAtMe AAEnemy1and so onendifend this worked only once as well is there some little thing that I am not noticing or what PLEAASE HELP MEEE :wallbash: my Head hurts :thanks: for advance Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.