MarkerRemoveEffectSmoke
Appearance
| Environment: | Mission Scripting | |
|---|---|---|
| Function: | MarkerRemoveEffectSmoke | |
| Function Description: | Removes smoke effect from a marker when it is removed, using the provided event data and unit ID to determine position and clear the effect after a timer. | |
| File Location: | cmm.MapCommandFunctions.lua | |
| Syntax: | CMM.MarkerRemoveEffectSmoke( table EventData , number UnitID ) | |
| Return Value: | nil | |
| Parameters: | Name | Description |
| EventData | Custom Event Table passed by S_EVENT_MARK_REMOVED EventHandler containing pos field for position. | |
| UnitID | Custom Event Table passed by S_EVENT_MARK_REMOVED EventHandler representing the unit ID of the marker being removed. | |
| Example: | CMM.MarkerRemoveEffectSmoke({pos = <vec3>}, 12345) | |
| Example Description: | Demonstrates removing smoke effect from a marker at position {x=100,y=20.0,z=300} with unit ID 12345. | |
| Related Functions: | ||
| Notes: | Map Command !removeeffect | |