Consider adding an event to BlockingVolume to consult UScript if an actor should be blocked. To cause a less of a performance hit, this could be called only if bClassBlocker is set to ON and SourceActor is one of the specific classes.
This will not cause crash 3369 clients because ShouldBlock will never be called there.
Example usage:
- allow passage only if certain pickup is held
- allow passage only for 1 team
etc.
e.g. smth like this
event bool ShouldBlock(Actor SourceActor)
{
return true;
}
then consult it in KFarfield.cpp for Karma and ShouldTrace accordingly. Then subclasses can implement own logic.
Consider adding an event to BlockingVolume to consult UScript if an actor should be blocked. To cause a less of a performance hit, this could be called only if bClassBlocker is set to ON and SourceActor is one of the specific classes.
This will not cause crash 3369 clients because ShouldBlock will never be called there.
Example usage:
etc.
e.g. smth like this
then consult it in
KFarfield.cppfor Karma and ShouldTrace accordingly. Then subclasses can implement own logic.