ScarDoc

Start typing to search the SCAR reference.

Function
Objective

Objective_AddAreaHighlight

Adds a map highlight around a specific point

On this page
Objective_AddAreaHighlight(objTable, pos, areatype, scale, color, alpha)

Description

AreaType is AT_CIRCLE (the default) or AT_SQUARE. Color is a table with three values for red, green and blue - i.e. {255, 0, 0}.

Parameters

  • objTableLuaTablerequired
  • posMarker/Position/Grouprequired
  • areatypeAreaTypeoptional
  • scaleRealoptional
  • colorTableoptional
  • alphaRealoptional

Returns

ElementID

Source

Declared in the game's script sources at:

scar/objectives.scar