MarkerArtilleryStrike
Appearance
| Environment: | Mission Scripting | |
|---|---|---|
| Function: | MarkerArtilleryStrike | |
| Function Description: | Triggers an artillery strike at a specified position using parsed rounds and AOE radius from the command text The function extracts values from the input string e g 25 400 validates them against safe ranges and passes them to CMM ArtilleryStrike | |
| File Location: | cmm.MapCommandFunctions.lua | |
| Syntax: | CMM.MarkerArtilleryStrike( table EventData ) | |
| Return Value: | ||
| Parameters: | Name | Description |
| EventData | {text <string>, pos <vec3>} – event data containing the command text and target position | |
| Example: | CMM.MarkerArtilleryStrike({text = "!arty 25:400", pos = <vec3>}) | |
| Example Description: | Triggers an artillery strike at 100 50 0 with 25 rounds and 400 AOE radius | |
| Related Functions: | ||
| Notes: | Map Command !arty | |