deus-ex-randomizer icon indicating copy to clipboard operation
deus-ex-randomizer copied to clipboard

Cloned pawns could require a clean trace between the original guy and the clone location

Open theastropath opened this issue 1 year ago • 1 comments

Similar to swapped items, maybe we should do a trace from the original pawn to the intended clone location. If there is a wall or mover between them, the location could be rejected.

This might prevent problematic clones in places like M05 (Caged greasels and karkians) that get clones spawned outside of the cages. Would also help in places like Vandenberg CMD, where guys in the comm building can get clones outside of the building (or MJ12 getting clones inside) and starting fights.

Not sure if this is necessarily the correct solution (maybe sometimes), but might help?

theastropath avatar Jul 08 '24 01:07 theastropath

or maybe something with

native(1004) final iterator function ReachablePathnodes(
    class<NavigationPoint> BaseClass,
    out NavigationPoint NavPoint,
    Actor FromPoint,
    out float distance,
    optional bool bUsePrunedPaths
);

Die4Ever avatar Aug 08 '24 19:08 Die4Ever