#Enemies running visibility checks on
1 messages · Page 1 of 1 (latest)
dont they need it to interact with them? picking up ammo/weapons or player commanded interaction?
They are running visibility checks on alot of bullshit.
Like lampposts and static objects..
But when you consider that cursorTarget, needs this target knowledge. And many old things especially addAction scripts check cursorTarget and we break that with that.. Its a pain.
Someone might put addAction onto a weapon holder, that checks cursorTarget==weaponHolder. And for that you need knowsAbout and target knowledge.
I hotfixed that already for player group but its shit
cursorTarget is only meaningful for players though?
This is enemy units who aren't even on the same side as a player.
I can filter weapon holders.
But they are a very small problem.
We just filtered out lampposts, garbage piles and all the static misc objects. Weapon holders are nothing compared to that