Skip to content

Enabling Headless client plugin causes mission_ai_controller to be set to false in editor #187

@Royallle

Description

@Royallle

This is an editor issue only.

Changing the default value of the headless client plugin parameter will make the variable mission_ai_controller be set to false and causing problem in any script dependent on it.

mission_AI_controller = if (mission_enable_hc) then { !isServer && !hasInterface } else { isServer };

the !isServer && !hasInterface condition will return false. Maybe add a check for isMultiplayer ((!isServer && !hasInterface) || (!isMultiplayer)) ?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions