DCS func ctfColorTag

From DCS World Wiki - Hoggitworld.com
Revision as of 02:20, 15 March 2021 by Grimes (talk | contribs) (Created page with "{{Template:dcs_funcs |fName= ctfColorTag |vNum= 2.5.6 |par1= trigger.action |par2= |par3= |par4= |desc= Creates a smoke plume behind a speci...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Scripting Root

Envrioment: Mission Scripting
Function: ctfColorTag Added with: 2.5.6
Member Of: trigger.action
Syntax: function trigger.action.ctfColorTag(string unitName , enum smokeColor )
Description: Creates a smoke plume behind a specified aircraft. When passed 0 for smoke type the plume will be disabled. When triggering the on the same unit with a different color the plume will simply change color.
  Disable 0
  Green   1
  Red     2
  White   3
  Orange  4
  Blue    5


Return Value: function
Return Example: none
Examples: The color matches the smokeColor enumerator, but the values are offset up by 1.
Related Functions: Trigger Functions: ctfColorTag, getUserFlag, setUserFlag, getZone, explosion, smoke, effectSmokeBig, effectSmokeStop, illuminationBomb, signalFlare, radioTransmission, stopRadioTransmission, setUnitInternalCargo

outSound, outSoundForCoalition, outSoundForCountry, outSoundForGroup, outSoundForUnit, outText, outTextForCoalition, outTextForCountry, outTextForGroup, outTextForUnit

addOtherCommand, removeOtherCommand, addOtherCommandForCoalition, removeOtherCommandForCoalition, addOtherCommandForGroup, removeOtherCommandForGroup

markToAll, markToCoalition, markToGroup, removeMark, markupToAll, lineToAll, circleToAll, rectToAll, quadToAll, textToAll, arrowToAll, setMarkupRadius, setMarkupText, setMarkupFontSize, setMarkupColor, setMarkupColorFill, setMarkupTypeLine, setMarkupPositionEnd, setMarkupPositionStart

setAITask, pushAITask, activateGroup, deactivateGroup, setGroupAIOn, setGroupAIOff, groupStopMoving, groupContinueMoving

Notes: