Skip to content

fn_taskAmbush.sqf undefined variable in expression #36

Description

@szkkteam

When using the ws_fnc_taskAmbush function with the following commands:

Trigger:

  • VName : AmbushTrigger
  • Size : X = 50, Y = 50
  • Trigger on any player inside.

On act:
_group = [ SpawnPos, "soldier name] call Zen_SpawnGroup;
nul = [_group, AmbushTrigger] spawn ws_fnc_taskAmbush;

The desired soldiers are spawned on location SpawnPos, but after when the taskAmbush is called, there is a script error:

Undefined variable in expression on line 43. Technically it says _ambush variable is undefined.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions