You want the map marker functions.
Code: Select all
MapAddClassMarker("all_inf_officer_jungle", "hud_objective_icon_circle", 3.5, ATT, "YELLOW", true)
MapAddClassMarker("cis_walk_spider", "hud_target_hint_onscreen", 3.0, ATT, "YELLOW", true)
MapAddClassMarker("gar_inf_naboo_queen", "hud_objective_icon", 3.5, ATT, "YELLOW", true)
MapAddClassMarker("geo_inf_acklay", "hud_objective_icon_circle", 3.5, ATT, "YELLOW", true)
MapAddClassMarker("jed_knight_01", "hud_objective_icon", 3.5, ATT, "YELLOW", true)
MapAddClassMarker("jed_master_01", "hud_objective_icon_circle", 3.5, ATT, "YELLOW", true)
MapAddClassMarker("jed_master_02", "hud_objective_icon_circle", 3.5, ATT, "YELLOW", true)
MapAddClassMarker(t.classname, t.icon, t.iconScale, self.teamATT, "YELLOW", true)
MapAddEntityMarker("ATTE2", "hud_objective_icon_circle", 4.0, ATT, "YELLOW", true)
MapAddEntityMarker("CAM_CP1", "hud_objective_icon_circle", 3.0, ATT, "YELLOW", true, true, true)
MapAddEntityMarker("CAM_CP2", "hud_objective_icon_circle", 4.0, ATT, "YELLOW", true)
MapAddEntityMarker("cp5", "hud_objective_icon", 3.0, ATT, "YELLOW", true, true, true)
MapAddEntityMarker("enemyspawn2", "hud_objective_icon", 4.0, ATT, "YELLOW", true)
MapAddEntityMarker("force_shield_01", "hud_objective_icon", 3.0, 1, "YELLOW", true)
MapAddEntityMarker("newenemyspawn", "hud_objective_icon", 4.0, ATT, "YELLOW", true)
MapAddEntityMarker("oil", "hud_objective_icon", 3.0, 1, "YELLOW", true)
MapAddEntityMarker("repveh6", "hud_objective_icon", 3.0, 1, "YELLOW", true)
MapAddEntityMarker("shi-ject", "hud_objective_icon", 3.0, 1, "YELLOW", true)
MapAddEntityMarker("shield_object", "hud_objective_icon", 3.0, 1, "YELLOW", true)
MapAddEntityMarker("temple_door_trigger", "hud_objective_icon_circle_circle", 4.0, ATT, "YELLOW", true)
MapAddEntityMarker(GetCharacterUnit(GetTeamMember(flag_rebel, 0)), "hud_objective_icon_circle", 4.0, ATT, "YELLOW", true)
MapAddEntityMarker(GetCharacterUnit(carrier), "hud_target_flag_onscreen", 4.0, ATT, "YELLOW", true)
MapAddEntityMarker(capRegionDummyObject, capRegionMarker, capRegionMarkerScale, team, "YELLOW", bPulseCapRegion, false, bPulseCapRegion)
MapAddEntityMarker(cp.name, self.icon, 4.0, self.teamATT, "YELLOW", true)
MapAddEntityMarker(flag, icon.texture, icon.scale, self.team)
MapAddEntityMarker(flag, self.icon[flag].texture, self.icon[flag].scale, self.team)
MapAddEntityMarker(flag.name, flag.mapIcon, 4.0, carrierTeam, "YELLOW", true, false, true, true)
MapAddEntityMarker(postPtr, self.icon, 4.0, self.teamATT, "YELLOW", true)
MapAddEntityMarker(self.flag, self.flagIcon, self.flagIconScale, team, "YELLOW", true, false, true, true)
MapAddEntityMarker(t.name, t.icon, t.iconScale, self.teamATT, "YELLOW", true)
MapAddRegionMarker(GetRegion(capRegion), capRegionMarker, capRegionMarkerScale,
MapAddRegionMarker(GetRegion(flag.captureRegion), flag.capRegionMarker, 4.0,
MapAddRegionMarker(self.regionName, self.mapIcon, 2.5, self.teamATT, "YELLOW", true)
MapAddRegionMarker(self.regionName, self.mapIcon, 2.5, self.teamDEF, "YELLOW", true)
The first parameter is the object/class/entity/region name and the second parameter is the map icon. I think the third is the map icon's size and the fourth is the team which will be able to see the marker. I'm not sure what the rest of the parameters do, but I assume they do something.
and pass in the name of the object/class/entity/region. Examples: