scmJS docs

Leaderboard Goal Control At Location

As Leader Board Control At Location, counting towards the goal.

Action 34 · Leaderboard Goal Control At Location(Label, Unit, Goal, Location);

Argument Takes Stored in the action
Label text, stored as a string-table entry bytes 4–7
Unit a unit type, or one of the unit classes bytes 24–25
Goal a whole number, 0 to 4,294,967,295 bytes 20–23
Location a location (Anywhere is location 64) bytes 0–3
Leaderboard Goal Control At Location("Hold the hill", "Men", 5, "Hill");