Skip to content

Spread operator not working with global variable arrays #405

Open

Description

@MiranDMC
Alloc($pos, 20)
var $pos: array 3 of float
//float $pos[3]

locate_char_any_means_3d $scplayer {xyz} ...$pos {radius} 1.0 1.0 1.0 {drawSphere} false

won't compile, error says variable pos is not declared as array

Activity

  1. added
    type:bug
    priority:p3
    on Nov 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    priority:p3scope:compilertype:bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions