Skip to content

Instantly share code, notes, and snippets.

View headswe's full-sized avatar
🏀
Building cool things

Sebastian Nygren headswe

🏀
Building cool things
View GitHub Profile
[myGroup, ["marker_1","marker_2"]] execVM "teleport.sqf";
private _allVehs = ("true" configClasses (configFile >> "CfgVehicles"));
dsm_factions = [true] call CBA_fnc_createNamespace;
{
private _configName = configName _x;
private _isVehicle = _x isKindOf 'AllVehicles';
private _isNotMan = !(configName isKindOf 'Man');
if(_isVehicle && _isNotMan) then {
private _factionStr = (getText (_x >> 'faction'));
if(_factionStr != '') then {
private _faction = dsm_factions getVariable [_factionStr, []];
name=Test repo
battleeye=1
serveraddress=myserverip
serverpassword=myserverpassword
serverport=myserverport
disablepbodeltapatching=@lythium,@3cb_baf_equipment,@diyala,@3cb_baf_units,@3cb_baf_vehicles,@3cb_baf_weapons,@pack_press
_action = ["HEAD_PLACEFLAG","Place Flag","",
{
_pos = screenToWorld [0.5, 0.5];
if(player distance2d _pos > 1) exitWith {};
_flag = "classname" createVehicle _pos;
_flag setDir (_flag getDir player);
},
{
true
},
<div class="col-12 col-sm-12 col-md-6 col-lg-3 col-xl-3">
<div id="hanamuraContainer">
<div class="container-fluid" id="asiaContainer">
Asia
</div>
</div>
</div>
<%@ Assembly Name="Microsoft.SharePoint, Version=16.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c"%>
<%@ Page Language="C#" Inherits="Microsoft.SharePoint.WebPartPages.WikiEditPage" MasterPageFile="~masterurl/default.master" MainContentID="PlaceHolderMain" %>
<%@ Import Namespace="Microsoft.SharePoint.WebPartPages" %>
<%@ Register Tagprefix="SharePoint" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=16.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register Tagprefix="Utilities" Namespace="Microsoft.SharePoint.Utilities" Assembly="Microsoft.SharePoint, Version=16.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Import Namespace="Microsoft.SharePoint" %>
<%@ Assembly Name="Microsoft.Web.CommandUI, Version=16.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register Tagprefix="WebPartPages" Namespace="Microsoft.SharePoint.WebPartPages" Assembly="Microsoft.SharePoint, Version=16.0.0.0, Culture=neutral, PublicKeyTo
he_cas = {
params ["_pos","_dir"];
_dummy = "LaserTargetCBase" createVehicle _pos;
_dummy enableSimulationGlobal false; _dummy hideObjectGlobal true;
_dummy setVariable ["vehicle","a10classname"];
_dummy setVariable ["type",0];
_dummy setDir _dir;
[_dummy,nil,true] call BIS_fnc_moduleCAS;
he_fnc_makeMarker = {
if(!isServer) exitWith {};
params ["_pos","_text","_color","_icon"];
_veh = "Helper_Base_F" createVehicle _pos;
_veh setPosATL _pos;
_veh setVariable ["Text",_text,true];
if(!isNil "_color") then {_veh setVariable ["Color",_color]};
if(!isNil "_icon") then {_veh setVariable ["Icon",Icon]};
[_veh,[],true] remoteExec ["TMF_spectator_fnc_objectiveModule",0,true];
};
#include "debug_console.hpp"
conClear();
_items = [];
#define TAB 9
#define BACKWARDSLASH 92
#define QUOTE 34
outlines = [];
#define PushbackLine(msg) outlines pushBack msg
he_deploy_chute = {
private ["_chute","_dir"];
_unit = _this select 0;
_unit setCaptive 1;
_unit allowdamage false;
waitUntil {(position _unit select 2) <= 500};
if (vehicle _unit != _unit) exitWith {};
_chute = createVehicle ["Steerable_Parachute_F", position _unit, [], direction _unit, 'FLY'];
_chute setPos (getPos _unit);
_unit assignAsDriver _chute;