virginharvester Posted November 21, 2019 Share Posted November 21, 2019 hi, sorry for my bad english,previously i request "kill all enemies when combat triggered",if you wonder why?, because i like to enjoy the story without combat this timeanyway, after googling i found it :"Witcher 3: Autokill Enemies"https://www.moddb.com/games/the-witcher-3-wild-hunt/addons/modautokillenemiesit works, all enemies will die when combat triggered,but there a problem, some enemies have the script,if you kill them instantly(too fast) they will be bugged,like never-ending loading, double unique npc, the quest cannot progress further, etcbecause of that, i like to make the "auto kill" slower, so the game will be running with less bug,anyway, because the original mod has auto-hidden enemies corpse,i delete some line and become something like this: if( IsRequiredAttitudeBetween(this, thePlayer, true) ) //modAutokillEnemies { Kill( 'ForcedByScript', true ); } the original file : "the witcher 3 - wild hunt\content\content0\scripts\game\npc\npc.ws"starting at line 4067,and the idea that i like is something like this : if( IsRequiredAttitudeBetween(this, thePlayer, true) ) //modAutokillEnemies { while(enemy.alive = true) { EnemyHealth = EnemyHealth - (EnemyHealth / 10); DelayInMicroSeconds(200); } } because my coding skill is not that high,i don't know where i should start,i hope somebody reads this and please, make the mod for me, thanks for reading, have a nice day Link to comment Share on other sites More sharing options...
Recommended Posts