| Environment:
|
Mission Scripting
|
|
|
| Function:
|
AlertPlayers()
|
| Function Description:
|
This function is designed to play a sound and display a picture for in the provided Player Unit List (PlyrUnitList)
|
|
|
| File Location:
|
cmm.DCSFunctions.lua
|
|
|
| Syntax:
|
CMM.AlertPlayers()( table: PlyrUnitList , string or table or nil SoundFile , string or nil PictureFile )
|
|
|
| Return Value:
|
nil
|
|
|
| Parameters:
|
Name
|
Description
|
| PlyrUnitList | vec3 table of the point you want to search around |
|---|
| SoundFile | Sound file to play for the players, if nil no sound will be played |
|---|
| PictureFile | Picture file, function uses default CMM.PICTURE.ALERT settings for picture display, if nil no picture will be displayed |
|
|
| Example:
|
CMM.AlertPlayers(PlyrUnitList , "YouCantParkThereSir.ogg", "QuestionMark.png")
| Example Description:
|
Will play the "YouCantParkThereSir.ogg" sound and display the "QuestionMark.png" image to all players in the provided Player Unit List (PlyrUnitList)
|
|
|
| Related Functions:
|
|
| Notes:
|
| |