SKKmods Posted October 25, 2017 Share Posted October 25, 2017 I am having some problems with quest spawned LvlNPCs attacking each other even when their Quest Alias RefCollection attached factions are set to reciprocal Ally. CK document states " Allies cannot attack each other under any circumstances", yeah, right. Having run a stack of sims it looks like its lvlSynth and lvlProtectron that are attacking everyone else, but not each other. I cant see anything on the base actor that is different to other LvlNPCs. Anyone know about robots ? Link to comment Share on other sites More sharing options...
SKKmods Posted October 25, 2017 Author Share Posted October 25, 2017 (edited) It's actually unclear documentation rather than Robots. Turns out that SetEnemy() and SetAlly() are not reciprocal so have to be run on both: pThisFaction.SetAlly(pThatFaction, false, false) ;ally pThatFaction.SetAlly(pThisFaction, false, false) ;ally Edited October 26, 2017 by SKK50 Link to comment Share on other sites More sharing options...
SKKmods Posted October 26, 2017 Author Share Posted October 26, 2017 (edited) X Edited October 26, 2017 by SKK50 Link to comment Share on other sites More sharing options...
ThoraldGM Posted October 26, 2017 Share Posted October 26, 2017 What was the anomaly? Link to comment Share on other sites More sharing options...
SKKmods Posted October 27, 2017 Author Share Posted October 27, 2017 The ck documentation implies that setenemy and setally are rediprocal in a single function call. My observed behavior suggests that is not reliable unless a seperate call is made on both factions. Validated with 8x8x8 faction relations in combat simularion. Link to comment Share on other sites More sharing options...
ThoraldGM Posted October 27, 2017 Share Posted October 27, 2017 I saw the blue on blue anomaly post and thought maybe there was a rare bug. I've had a single complaint that Friendly Easy City Downs went aggro but dismissed it as a load order conflict. Uses same setup as yours. Link to comment Share on other sites More sharing options...
Recommended Posts