Seeking Help with SCAR Documentation

Hello everyone,

I’m currently working on a project using SCAR and have come across the Obj_Create function used as shown below:

_mod.objective = Obj_Create(localPlayer.id, _mod.objective_title, Loc_Empty(), _mod.icons.objective, "ConquestObjectiveTemplate", localPlayer.raceName, OT_Primary, 0, "conquestObj")

The available documentation isn’t clear on what values are acceptable for each parameter. I’m particularly puzzled about:

  • localPlayer.id: Is there a specific range or format for this identifier?
  • _mod.objective_title: What types of titles are accepted or expected here?
  • Loc_Empty(): What should this function return exactly? Is there a defined structure for an empty location?
  • _mod.icons.objective: Where can I find a complete list of valid icons for this parameter?
  • “ConquestObjectiveTemplate”: Is this the only available template, or are there others?
  • localPlayer.raceName: What values are valid for representing the player’s race?
  • OT_Primary: Are there other objective types apart from OT_Primary?
  • 0: What does this numerical value represent? Is it an index, priority level, or something else?
  • “conquestObj”: Should this identifier adhere to a specific naming convention?

In addition to clarifying these specific parameters, I would also like to know how I can independently verify these values or find the definitions of these functions within the SCAR documentation. Is there a particular section, tool, or method within the SCAR ecosystem that can help me discover these details myself?

Any guidance, pointers to relevant documentation, or examples from experienced users would be greatly appreciated. Thank you in advance for your assistance!