Code: Select all
ScriptLog: Helper reports the Number of Actors = 2361 - Foreach AllActors (class'Actor',A)
ScriptLog: Time needed to execute: 0.000366 seconds.
PawnList 106 Monsters + 1 Player + 4 Bots
ScriptLog: Finished Pawnlist in 0.000488 seconds.
Almighty Botpack is done for let's say 4 people + 4 Bots - decent load which make PawnList to work faster enough.
BUT using PawnList in games with 700 Monsters, performance goes into trash-box as long as iterator Foreach (including pawns inside) is faster - at least I got rid of it from A.I. mission call MH related but I was using PawnList which is not fast comparing with Foreach. Gotta rewrite my Controllers as long as I don't like these results. What was written about Foreach ? Slow ? I'm not sure.
If results granted by XC_Engine are based on RealTimeClock then... I think I'll use Pawnlist depending on number of Pawns switching at Foreach if PawnList grows, LOL.
I'm going to test VisibleCollidingActors which was claimed FAST. I'll be back.
Edit Bot.ForeachVisibleCollidingActors class Actor A if A !=None Act++ log bla bla
Code: Select all
ScriptLog: MH-BR-Village.WatchIt0 spawned for Drimacus
ScriptLog: Drimacus claim to see 30 actors.
ScriptLog: Detected Actors in 0.000488 seconds.
ScriptLog: MH-BR-Village.WatchIt1 spawned for Kira
ScriptLog: Kira claim to see 31 actors.
ScriptLog: Detected Actors in 0.000000 seconds.
ScriptLog: MH-BR-Village.WatchIt2 spawned for Necroth
ScriptLog: Necroth claim to see 30 actors.
ScriptLog: Detected Actors in 0.000000 seconds.
ScriptLog: MH-BR-Village.WatchIt3 spawned for Cilia
ScriptLog: Cilia claim to see 30 actors.
ScriptLog: Detected Actors in 0.000488 seconds.