Last active
February 28, 2022 01:50
-
-
Save Drofseh/7e3946a6bc52fd130955363bb3679d28 to your computer and use it in GitHub Desktop.
Add ARCOMM chat commands to briefing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
player createDiarySubject ["Chat Commands","Chat Commands"]; | |
private _ARCOMM_Chat_Commands = ["Chat Commands", ["ARCOMM Default Commands"," | |
<br/><font color='#70db70' size='16'>#loadout</font> | |
<br/>Syntax 1 | |
<br/><font color='#FF8C00'>#loadout <role></font> | |
<br/> | |
<br/>Applies the given role loadout to the local player. Roles are the names of loadouts in the player's faction's loadout file. Eg. #loadout aar for assistant automatic rifleman. | |
<br/> | |
<br/>Syntax 2 | |
<br/><font color='#FF8C00'>#loadout <target_name></font> | |
<br/> | |
<br/>Target name is a name of a connected player and will apply their loadout to the local player. Eg. #loadout bob. | |
<br/> | |
<br/>Syntax 3 | |
<br/><font color='#FF8C00'>#loadout <target_name> <recipient_name></font> | |
<br/> | |
<br/>Both target name and recipient name are names of connected players. The loadout of target name will be applied to the recipient. | |
<br/> | |
<br/>All methods will log the loadout assignation in chat globally. | |
<br/> | |
<br/><font color='#70db70' size='16'>#groupname</font> | |
<br/>Syntax | |
<br/><font color='#FF8C00'>#groupname <name></font> | |
<br/> | |
<br/>Will set the name of the local player's group to the given name. Player must be group leader to use this command. Eg. #loadout PltHQ | |
<br/> | |
<br/><font color='#70db70' size='16'>#groupcolor</font> | |
<br/>Syntax | |
<br/><font color='#FF8C00'>#groupcolor <color></font> | |
<br/> | |
<br/>Will set the marker color of the local player's group to the given color. Player must be group leader to use this command. Eg. #groupcolor red | |
<br/> | |
<br/><font color='#70db70' size='16'>#radio</font> | |
<br/>Syntax | |
<br/><font color='#FF8C00'>#radio <type></font> | |
<br/> | |
<br/>Will add the given radio to the local player. Eg. #radio 343, #radio 148 or #radio 152 | |
<br/> | |
<br/><font color='#70db70' size='16'>#rp</font> | |
<br/>Syntax | |
<br/><font color='#FF8C00'>#rp</font> | |
<br/> | |
<br/>Will reset the local player's position to the nearest safe position. Eg. #rp | |
<br/> | |
<br/><font color='#70db70' size='16'>#heal</font> | |
<br/>Syntax 1 | |
<br/><font color='#FF8C00'>#heal</font> | |
<br/> | |
<br/>Will heal the local player. Only available during briefing stage. | |
<br/> | |
<br/>Syntax 2 | |
<br/><font color='#FF8C00'>#heal <player_name></font> | |
<br/> | |
<br/>Will heal the given player. Only available during briefing stage. | |
<br/> | |
<br/><font color='#70db70' size='16'>#whisper</font> | |
<br/>Syntax | |
<br/><font color='#FF8C00'>#whisper <player_name> <message></font> | |
<br/> | |
<br/>Will whisper the given player with the given message. Whisper will show a hint to the recipient and will show who sent the whisper. Eg. #whisper bob can you teleport me i fell into the sun | |
<br/> | |
<br/><font color='#70db70' size='16'>#spec</font> | |
<br/>Syntax | |
<br/><font color='#FF8C00'>#spec</font> | |
<br/> | |
<br/>Will open the spectator interface. | |
<br/> | |
<br/><font color='#70db70' size='16'>#ss</font> | |
<br/>Handles safe start starting/stopping. | |
<br/> | |
<br/>Syntax | |
<br/><font color='#FF8C00'>#ss <state></font> | |
<br/> | |
<br/>State can be either on or off. Can only be used by logged in admin. | |
<br/> | |
<br/><font color='#70db70' size='16'>#end</font> | |
<br/>Ends the mission with the given debriefing class. | |
<br/> | |
<br/>Syntax | |
<br/><font color='#FF8C00'>#end <debriefing></font> | |
<br/> | |
<br/>Debriefing can be one of blufor, opfor, indfor, completed, failed or draw. You can supply just the first character or the full text, eg. #end b or #end blufor. Can only be used by logged in admin. | |
"]]; | |
player createDiaryRecord _ARCOMM_Chat_Commands; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment