DCS func effectSmokeBig: Difference between revisions

From DCS World Wiki - Hoggitworld.com
Created page with "{{Template:dcs_funcs |fName= effectSmokeBig |vNum= 2.5.1 |par1= trigger.action |par2= |par3= |par4= |desc= Creates a large smoke effect on a..."
 
No edit summary
Line 15: Line 15:
|desc= Creates a large smoke effect on a vec3 point of a specified type and density.  
|desc= Creates a large smoke effect on a vec3 point of a specified type and density.  


   1 small smoke and fire
   1 = small smoke and fire
   2 medium smoke and fire
   2 = medium smoke and fire
   3 large smoke and fire
   3 = large smoke and fire
   4 huge smoke and fire
   4 = huge smoke and fire
   5 small smoke
   5 = small smoke
   6 medium smoke  
   6 = medium smoke  
   7 large smoke
   7 = large smoke
   8 huge smoke  
   8 = huge smoke  
 
Density is any value from 0 to 1. For example 0.5
|rtnType= function
|rtnType= function


Line 45: Line 47:
|optType2=
|optType2=


|examples=  
|examples= The following creates a large smoke and fire effect with a density of 0.75
    local someZone = trigger.misc.getZone('whatever').point
    trigger.action.smokeEffectBig(someZone, 3, 0.75)
 
|related=  
|related=  
[[DCS_singleton_trigger|'''Trigger Functions:''']] {{ListOfTriggerFuncs}}
[[DCS_singleton_trigger|'''Trigger Functions:''']] {{ListOfTriggerFuncs}}

Revision as of 03:39, 16 September 2020

Scripting Root

Envrioment: Mission Scripting
Function: effectSmokeBig Added with: 2.5.1
Member Of: trigger.action
Syntax: function trigger.action.effectSmokeBig(table vec3 , enum smoke preset , number density )
Description: Creates a large smoke effect on a vec3 point of a specified type and density.
 1 = small smoke and fire
 2 = medium smoke and fire
 3 = large smoke and fire
 4 = huge smoke and fire
 5 = small smoke
 6 = medium smoke 
 7 = large smoke
 8 = huge smoke 

Density is any value from 0 to 1. For example 0.5


Return Value: function
Return Example: none
Examples: The following creates a large smoke and fire effect with a density of 0.75
   local someZone = trigger.misc.getZone('whatever').point
   trigger.action.smokeEffectBig(someZone, 3, 0.75)
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: