Skip to content

[Enhancement] Scriptable BlockingVolume #409

@SkrilaxCZ

Description

@SkrilaxCZ

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions