MarkerGenerateWeaponsList
Appearance
| Environment: | Mission Scripting | |
|---|---|---|
| Function: | MarkerGenerateWeaponsList | |
| Function Description: | ||
| File Location: | cmm.AirBaseFunctions.lua | |
| Syntax: | CMM.MarkerGenerateWeaponsList( table EventData , number UnitID ) | |
| Return Value: | nil | |
| Parameters: | Name | Description |
| EventData | Event data that contains the marker text (!genweaponslist) and the position of the marker. | |
| UnitID | The unit ID to send a message to (used in multiplayer). | |
| Example: | CMM.MarkerGenerateWeaponsList(EventData, 1) | |
| Example Description: | Generates a weapons list for the closest airbase when the marker text is "!genweaponslist". | |
| Related Functions: | ||
| Notes: | ||