Skip to content

Instantly share code, notes, and snippets.

Avatar

Connor ConnorAU

View GitHub Profile
View fn_progressBar.sqf
// moved to https://github.com/ConnorAU/A3UserInputMenus/wiki/CAU_UserInputMenus_fnc_progressBar
View fpsQuery.sqf
private _serverQuery = {
params ["_clientQuery","_serverQueryReturn","_clientReturn"];
// hopefully unique temporary variable
private _variable = format["serv_fps_query_%1",diag_tickTime];
// create array for players to insert their fps into
private _players = call BIS_fnc_listPlayers;
private _returns = [];
_returns resize (count _players + 1);
View dynamicweathereffects.sqf
/*──────────────────────────────────────────────────────┐
│ Author: ConnorAU │
│ Steam: https://steamcommunity.com/id/_connor │
│ Github: https://github.com/ConnorAU │
│ │
│ Please do not modify or remove this comment block │
└──────────────────────────────────────────────────────*/
#define BASE_WEATHER_CHANGE_TIME (7*60)
#define RAND_WEATHER_CHANGE_TIME (5*60)
View fn_exportcfgammo.sqf
/*
Author: Karel Moricky
Description:
Export list of addons for Community Wiki
https://community.bistudio.com/wiki/Category:Arma_3:_Assets
Parameter(s):
0: ARRAY of STRINGs - list of CfgPatches classes
@ConnorAU
ConnorAU / displayEventCfgExport.sqf
Created Jan 29, 2020
Generate a config of all display events in the arma 3 config file
View displayEventCfgExport.sqf
/*──────────────────────────────────────────────────────┐
│ Author: Connor │
│ Steam: https://steamcommunity.com/id/_connor │
│ Github: https://github.com/ConnorAU │
│ │
│ Please do not modify or remove this comment block │
└──────────────────────────────────────────────────────*/
private _timeStartTick = diag_ticktime;
diag_log 'export start';
View Arma 3 Discord Rich Presence - README.md

Arma 3 Discord Rich Presence

Show what you're playing in Arma 3 with Discord Rich Presence.

Features

  • Simple plug and play, works on every mission.
  • Automatically activate rich presence as soon as the client spawns in.
  • Update rich presence information instantly using SQF.
  • SP/MP Compatible.
You can’t perform that action at this time.