Skip to content

Instantly share code, notes, and snippets.

View BrettMayson's full-sized avatar

BrettMayson

  • Regina, Canada
  • 18:46 (UTC -06:00)
View GitHub Profile
fnc_oxygen_percentage = {
params ["_height"];
9.663359601535e-8 * (_height * _height) - 0.00240453 * _height + 20.757
};
use arma_rs::{arma, Extension};
#[macro_use]
extern crate log;
mod task;
mod worker;
lazy_static::lazy_static! {
static ref QUEUE: Mutex<Worker<Task>> = Mutex::new(Worker::<Task>::new_fifo());
use arma_rs::{arma, Extension};
#[arma]
fn init() -> Extension {
Extension::build()
.command("side_select", side_select)
.finish()
}
fn side_select(side: String) -> Vec<String> {

Keybase proof

I hereby claim:

  • I am brettmayson on github.
  • I am brettmayson (https://keybase.io/brettmayson) on keybase.
  • I have a public key ASD5JmK2b9DdYS6m3bwm1CIZaiRQtlWJkIctHtEFuoY8Dgo

To claim this, I am signing this object:

This file has been truncated, but you can view the full file.
<!DOCTYPE html>
<html lang="en" dir="ltr">
<head>
<meta charset="utf-8">
<link href="https://use.fontawesome.com/releases/v5.6.3/css/all.css" rel="stylesheet" integrity="sha384-UHRtZLI+pbxtHCWp1t77Bi1L4ZtiqrqD80Kn4Z8NTSRyMA2Fd33n5dQ8lWUE00s/" crossorigin="anonymous">
<link rel="stylesheet" href="stylesheet.css">
</head>
<body>
<h1 class="title">Kaitlin's Website</h1>
<p>Hello. My name is Kaitlin. I love to make websites.</p>
force ace_medical_ai_enabledFor = 2;
force ace_medical_AIDamageThreshold = 1;
force ace_medical_allowLitterCreation = true;
force ace_medical_allowUnconsciousAnimationOnTreatment = false;
force ace_medical_amountOfReviveLives = 3;
force ace_medical_bleedingCoefficient = 1;
force ace_medical_blood_enabledFor = 2;
force ace_medical_consumeItem_PAK = 0;
force ace_medical_consumeItem_SurgicalKit = 0;
force ace_medical_convertItems = 0;
#define PREFIX PABST
#define COMPONENT PABOMIES
#include "\x\cba\addons\main\script_macros_mission.hpp"
["pabst_addDamPass", {_this call ace_medical_fnc_addDamageToUnit}] call CBA_fnc_addEventHandler;
["pabst_setUnitSpeed", {(_this select 0) setAnimSpeedCoef (_this select 1)}] call CBA_fnc_addEventHandler;
if (!isServer) exitWith {};
MISSION_ROOT = str missionConfigFile select [0, count str missionConfigFile - 15];
GVAR(zombiesA) = [];
GVAR(zombiesB) = [];
GVAR(zombiesC) = [];
["dedmen"] call {
missionNamespace setVariable [_this select 0,player, true];
[0, {
params ["_myName"];
private _curVarName = _myName+"Cur";
if (!isNil _curVarName) then {
[-1, compile format["if (player == %1) then {%1 sideChat 'deleting Curator';}", _myName]] call CBA_fnc_globalExecute;
deleteVehicle (missionNamespace getVariable [_curVarName, objNull]);
missionNamespace setVariable [_curVarName, nil, true];
class CfgLimitedArsenal {
items[] = {
"Binocular", "ItemGPS", "ItemCompass", "ItemWatch", "ACE_Altimeter", "ACE_filedDressing",
"ACE_bloodIV", "ACE_bloodIV_250", "ACE_bloodIV_500", "ACE_CableTie", "ACE_epinephrine",
"ACE_morphine", "ACE_EntrenchinTool", "ACE_EarPlugs", "ACE_IR_Strobe_Item", "ACE_MapTools",
"ACE_Flashlight_XL50", "ACE_Tripod", "ToolKit", "ACE_wirecutter", "Chemlight_blue",
"Chemlight_green", "ACE_Chemlight_HiOrange", "ACE_Chemlight_HiRed", "ACE_Chemlight_HiWhite",
"ACE_Chemlight_HiYellow", "ACE_Chemlight_IR", "ACE_Chemlight_Orange", "ACE_Chemlight_White",
"Chemlight_red", "Chemlight_yellow", "B_IR_Grenade", "SmokeShellBlue", "SmokeShellGreen",
"SmokeShellOrange", "SmokeShellPurple", "SmokeShellRed", "SmokeShellYellow", "SmokeShell",