Skip to content

Using <Local Player> in scripts may be problematic in multiplayer and replays #2082

@Caball009

Description

@Caball009

The use of <Local Player> in scripts refers to the actual local player for live matches, but refers to the observer for replays. That means that some scripts that were meant to execute for <Local Player> may be skipped in replay mode, potentially leading to a mismatch.

For multiplayer the issue already becomes apparent during the live match, because <Local Player> only refers to the actual local player and not the player whose data should used be for the script condition. This likely makes the use of <Local Player> very mismatch prone in multiplayer matches.

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugSomething is not working right, typically is user facingInvestigateMinorSeverity: Minor < Major < Critical < BlockerScriptIs related to Script Engine, SCB

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions