Tagging Functions

ace_tagging_fnc_addCustomTag

Description

Adds custom tag. Has to be executed on one machine only.

Parameters

Index Description Datatype(s) Default Value
0 Unique Identifier STRING  
1 Display Name STRING  
2 Required Item STRING  
3 Textures Paths ARRAY  
4 Icon Path STRING ””
5 Material Paths ARRAY []
6 Tag Model STRING “UserTexture1m_F”

Return Value

Description Datatype(s)
Successfully Added Tag BOOL

Example

["ace_victoryRed", "Victory Red", "ACE_SpraypaintRed", ["path\to\texture1.paa", "path\to\texture2.paa"], "path\to\icon.paa"] call ace_tagging_fnc_addCustomTag

Authors

  • Jonpas

ace_tagging_fnc_addStencilTag

Description

Adds custom text tag. Has to be executed on one machine only.

Parameters

Index Description Datatype(s) Default Value
0 Display Text STRING  
1 Text Size NUMBER 0.3
2 Required Item STRING “ACE_SpraypaintBlack”
3 Text Color (in HEX 6 or 8) STRING based on spray item
4 Background Color (in HEX 6 or 8) STRING “00000000” - transparent
5 Auto newlines BOOL true

Return Value

Description Datatype(s)
Sucessfully Added Tag BOOL

Example

["Orcs Go Home", 0.22] call ace_tagging_fnc_addStencilTag
["LOGI-2", 0.3, "ACE_SpraypaintBlack", "f7e9e1"] call ace_tagging_fnc_addStencilTag

Authors

  • PabstMirror

ace_tagging_fnc_tag

Description

Creates a tag on a wall that is on the closest surface within 2m on front of the unit.

Parameters

Index Description Datatype(s) Default Value
0 Unit OBJECT  
1 The colour of the tag (valid colours are black, red, green and blue or full path to custom texture) STRING  
2 Material of the tag STRING ””
3 Tag Model STRING “UserTexture1m_F”

Return Value

Description Datatype(s)
Success BOOL

Example

success = [player, "z\ace\addons\tagging\UI\tags\black\0.paa"] call ace_tagging_fnc_tag

Authors

  • BaerMitUmlaut
  • esteldunedain