Skip to content

Fix marker side format to use string instead of numeric ID#37

Merged
fank merged 1 commit intomainfrom
fix/marker-side-string-format
Feb 3, 2026
Merged

Fix marker side format to use string instead of numeric ID#37
fank merged 1 commit intomainfrom
fix/marker-side-string-format

Conversation

@fank
Copy link
Member

@fank fank commented Feb 3, 2026

Summary

  • Changed marker side from numeric BIS_fnc_sideID (0-6) to string str side ("EAST", "WEST", etc.)
  • Makes markers consistent with soldiers and vehicles which already send side as string
  • Fixes markers always having side = -1 (GLOBAL) in exported JSON

Test plan

  • Place markers as different sides in a mission
  • Verify exported JSON shows correct side values ("EAST", "WEST", etc.) instead of -1

BIS_fnc_sideID returns numeric values (0-6) while soldiers and vehicles
send side as string ("EAST", "WEST", etc.). This inconsistency caused
markers to always have side = -1 (GLOBAL) in the exported JSON.

Changed to use `str side _mrk_owner` for consistency with other entities.
@fank fank merged commit 7160071 into main Feb 3, 2026
@fank fank deleted the fix/marker-side-string-format branch February 3, 2026 18:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant