NexusComa Posted April 13, 2016 Share Posted April 13, 2016 (edited) How can I get two spawned enemy to fight each other ... As in two start attacking each other till one is dead. Is there a way to make them just target each other and start attacking via script as soon as they spawn ? Edited April 14, 2016 by NexusComa Link to comment Share on other sites More sharing options...
Elias555 Posted April 14, 2016 Share Posted April 14, 2016 Are they facing each other with a lot of light for them to see each other?Cloak spell would be an simple way. You could make an invisible 1 that fires OnLoad and lasts for 5s, that should be enough. I'm sure there's a smarter way. Link to comment Share on other sites More sharing options...
DreezNation Posted April 14, 2016 Share Posted April 14, 2016 Maybe you could set them as opposing factions? Link to comment Share on other sites More sharing options...
NexusComa Posted April 14, 2016 Author Share Posted April 14, 2016 (edited) Ya I have them set that way and on navmesh ... Seems to be more to it then just spawn, fight, die then go away. Definitely guessing at this point as theOnCombatStateChanged function continues after they are dead even with attached scripts with Self.kill() and Self.Delete(). Noticed a quest style doing this in the game, Whiterun - Jorrvaskr ... Not sure how that is put together. Edited April 14, 2016 by NexusComa Link to comment Share on other sites More sharing options...
DreezNation Posted April 14, 2016 Share Posted April 14, 2016 Oh, you could pull up that quest and try to figure out what they did! Pull up C00GiantAttack in your creation kit! I don't know a damn thing about scripting so I cant help but that quest might just be what you need! Link to comment Share on other sites More sharing options...
Recommended Posts