Jump to content

Search the Community

Showing results for tags 'scripts'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • BOHEMIA INTERACTIVE
    • BOHEMIA INTERACTIVE - NEWS
    • BOHEMIA INTERACTIVE - JOBS
    • BOHEMIA INTERACTIVE - GENERAL
  • FEATURED GAMES
    • Vigor
    • DAYZ
    • ARMA 3
    • ARMA 2
    • YLANDS
  • MOBILE GAMES
    • ARMA MOBILE OPS
    • MINIDAYZ
    • ARMA TACTICS
    • ARMA 2 FIRING RANGE
  • BI MILITARY GAMES FORUMS
  • BOHEMIA INCUBATOR
    • PROJECT LUCIE
  • OTHER BOHEMIA GAMES
    • ARGO
    • TAKE ON MARS
    • TAKE ON HELICOPTERS
    • CARRIER COMMAND: GAEA MISSION
    • ARMA: ARMED ASSAULT / COMBAT OPERATIONS
    • ARMA: COLD WAR ASSAULT / OPERATION FLASHPOINT
    • IRON FRONT: LIBERATION 1944
    • BACK CATALOGUE
  • OFFTOPIC
    • OFFTOPIC
  • Die Hard OFP Lovers' Club's Topics
  • ArmA Toolmakers's Releases
  • ArmA Toolmakers's General
  • Japan in Arma's Topics
  • Arma 3 Photography Club's Discussions
  • The Order Of the Wolfs- Unit's Topics
  • 4th Infantry Brigade's Recruitment
  • 11th Marine Expeditionary Unit OFFICIAL | 11th MEU(SOC)'s 11th MEU(SOC) Recruitment Status - OPEN
  • Legion latina semper fi's New Server Legion latina next wick
  • Legion latina semper fi's https://www.facebook.com/groups/legionlatinasemperfidelis/
  • Legion latina semper fi's Server VPN LEGION LATINA SEMPER FI
  • Team Nederland's Welkom bij ons club
  • Team Nederland's Facebook
  • [H.S.O.] Hellenic Special Operations's Infos
  • BI Forum Ravage Club's Forum Topics
  • Exilemod (Unofficial)'s General Discussion
  • Exilemod (Unofficial)'s Scripts
  • Exilemod (Unofficial)'s Addons
  • Exilemod (Unofficial)'s Problems & Bugs
  • Exilemod (Unofficial)'s Exilemod Server tweaks
  • Exilemod (Unofficial)'s Promotion
  • Exilemod (Unofficial)'s Maps - Mission Files
  • TKO's Weferlingen
  • TKO's Chernarus
  • TKO's Livonia
  • TKO's Rules
  • TKO's Changelog
  • TKO's Help
  • TKO's What we Need
  • MSOF A3 Wasteland's Server Game Play Features
  • MSOF A3 Wasteland's Problems & Bugs
  • MSOF A3 Wasteland's Maps in Rotation
  • SOS GAMING's Server
  • SOS GAMING's News on Server
  • SOS GAMING's Regeln / Rules
  • SOS GAMING's Ghost-Town-Team
  • SOS GAMING's Steuerung / Keys
  • SOS GAMING's Div. Infos
  • SOS GAMING's Small Talk
  • NAMC's Topics

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Website URL


Yahoo


Jabber (xmpp)


Skype


Biography


Twitter


Google+


Youtube


Vimeo


Xfire


Steam url id


Raptr


MySpace


Linkedin


Tumblr


Flickr


XBOX Live


PlayStation PSN


Origin


PlayFire


SoundCloud


Pinterest


Reddit


Twitch.Tv


Ustream.Tv


Duxter


Instagram


Location


Interests


Interests


Occupation

Found 67 results

  1. Hi, i got the following drawIcon3D script that shows the players names above their heads: onEachFrame { _units = nearestObjects[(visiblePosition player),["Man"], 17]; _units = _units; { _color = switch (playerSide) do { case (EAST): {[1,0,0,1]}; case (WEST): {[0,0,1,1]}; case (independent): {[0,1,0,1]}; case default {[2.55,0.55,0,10]}; }; if (side _x isEqualto playerSide) then { if (!(lineIntersects [getPos player, getPos _x, player, _x]) && alive _x) then { drawIcon3D [ "", _color, [visiblePosition _x select 0,visiblePosition _x select 1, (visiblePosition _x select 2) +((_x ModelToWorld (_x selectionPosition "player")) select 2)+ 1.83], 45, -2, -1, name _x, 2, 0.035, "Puristamedium", "center" ]; }; }; }forEach _units; }; the problem: this shows also the names thought objects where i cant see the player normaly... how can i fix this? also it would be nice if my enime is in a car i would see his name above the car (not works now). Thx for your answer's 😄
  2. Description: This is a GUI that allows the person who executed the script to add/assign or remove/unassign Zeus to any specified player(s). Downloads & More Information: GitHub: link Pastebin: link * No download required! Video: link Steam Guide: link Curator Creator Version 1.0: (Check the GitHub for the latest version) comment "Script Title: Curator Creator (Create and Assign New Zeuses). < Current Version: 1.0 > "; comment "Credits: Created by J [WoLF] and M9-SD. "; comment "Description: - Creates new unique zeus module for specified players. - Assigns unique Zeus module to specified clients. - Automatically updates zeus interface with new objects. - Re-assigns zeus to player every respawn. - Re-assigns zeus to player upon reconnecting to the session. - JIP (join-in-progress) compatible. "; comment "Usage: - Copy entire script. Paste in debug console. - Execute on local client. - Exit the pause menu if open. - Wait for GUI to appear. - Select recipients of the Zeus Interface. - Choose to remove or add interface. - The selected players will now either be assigned or unassigned their unique Zeus module. "; comment "Distribution: - You may share this script with anyone you want. - Don't give this to trolls, please. - Give credit where it is due. - Enjoy :) "; [] spawn { comment "-----------------------------------------------"; if (!hasInterface) exitWith {}; waitUntil { !isNil { player } && { !isNull player } }; waitUntil { !isNull (findDisplay 46) }; comment "-----------------------------------------------"; systemChat "[JAM] >>> Zeus Helper >>> Initializing Curator Creator..."; JAM_fnc_createAndAssignZeus = { if (typeOf getAssignedCuratorLogic player != "") then { comment "do nothing"; systemChat "[JAM] >>> Zeus Helper >>> You already have a zeus interface."; } else { JAM_fnc_createAssignCurator = { comment "-----------------------------------------------"; if (!hasInterface) exitWith {}; waitUntil { !isNil { player } && { !isNull player } }; waitUntil { !isNull (findDisplay 46) }; comment "-----------------------------------------------"; _myPlayer = _this # 0; _myCuratorPlayer = _myPlayer; JAM_addZeus_UID = getPlayerUID _myPlayer; JAM_addZeus_superCuratorVar = ("JAM_" + JAM_addZeus_UID + "_superCurator"); JAM_addZeus_superCuratorPlayerAttributesVar = ("JAM_" + JAM_addZeus_UID + "_superCuratorPlayerAttributes"); _JAM_my_curatorInitText = ("" + "if (isNil """ + JAM_addZeus_superCuratorVar + """) then {" + JAM_addZeus_superCuratorVar + " = JAM_superCurator_group createUnit ['ModuleCurator_F', [0, 90, 90],[],0.5,'NONE'];" + JAM_addZeus_superCuratorVar + " setVehicleVarName '" + JAM_addZeus_superCuratorVar + "';" + JAM_addZeus_superCuratorVar + " setVariable ['text','" + JAM_addZeus_superCuratorVar + "'];" + JAM_addZeus_superCuratorVar + " setVariable ['Addons',3,true];" + JAM_addZeus_superCuratorVar + " setVariable ['owner','objnull'];" + JAM_addZeus_superCuratorVar + " setVariable ['vehicleinit',"" _this setVariable ['Addons',3,true]; _this setVariable ['owner','objnull']; ""];" + "unassignCurator " + JAM_addZeus_superCuratorVar + ";" + "objnull assignCurator " + JAM_addZeus_superCuratorVar + ";" + JAM_addZeus_superCuratorPlayerAttributesVar + " = JAM_superCurator_group createUnit ['ModuleCuratorSetAttributesPlayer_F', [2, 91, 91],[],0.5,'NONE'];" + JAM_addZeus_superCuratorPlayerAttributesVar + " setVariable ['curator','" + JAM_addZeus_superCuratorVar + "'];" + JAM_addZeus_superCuratorPlayerAttributesVar + " setVariable ['unitpos',true];" + JAM_addZeus_superCuratorPlayerAttributesVar + " setVariable ['fuel',true];" + JAM_addZeus_superCuratorPlayerAttributesVar + " setVariable ['respawnposition',true];" + JAM_addZeus_superCuratorPlayerAttributesVar + " setVariable ['respawnvehicle',true];" + JAM_addZeus_superCuratorPlayerAttributesVar + " setVariable ['skill',true];" + JAM_addZeus_superCuratorPlayerAttributesVar + " setVariable ['rank',true];" + JAM_addZeus_superCuratorPlayerAttributesVar + " setVariable ['damage',true];" + JAM_addZeus_superCuratorPlayerAttributesVar + " setVariable ['exec',true];" + JAM_addZeus_superCuratorPlayerAttributesVar + " setVariable ['lock',true];" + JAM_addZeus_superCuratorPlayerAttributesVar + " setVariable ['vehicleinit',"" _this setVariable ['curator','" + JAM_addZeus_superCuratorVar + "']; _this setVariable ['unitpos',true]; _this setVariable ['fuel',true]; _this setVariable ['respawnposition',true]; _this setVariable ['respawnvehicle',true]; _this setVariable ['skill',true]; _this setVariable ['rank',true]; _this setVariable ['damage',true]; _this setVariable ['exec',true]; _this setVariable ['lock',true]; ""];" + "[" + JAM_addZeus_superCuratorVar + ",[-2,-1,0,1]] spawn BIS_fnc_setCuratorVisionModes;" + "JAM_" + JAM_addZeus_UID + "_updateSuperCuratorEditableObjects = true;" + "[] spawn {while {(JAM_" + JAM_addZeus_UID + "_updateSuperCuratorEditableObjects" + ")} do { if ( ((getAssignedCuratorUnit " + JAM_addZeus_superCuratorVar + ") != objNull) && (alive (getAssignedCuratorUnit " + JAM_addZeus_superCuratorVar + "))) then { " + JAM_addZeus_superCuratorVar + " addCuratorEditableObjects [([] call JAM_fnc_getEditableObjects),true]; }; sleep 30;}; };" + "}; " + ""); [_JAM_my_curatorInitText,{ _initText = _this; _initCode = compile _initText; if (isNil "JAM_blacklistedObjectsArray_01") then { JAM_blacklistedObjectsArray_01 = [ "ModuleCurator_F", "ModuleCuratorSetCamera_F", "Logic", "ModuleHQ_F", "VirtualCurator_F", "ModuleCuratorSetModuleCosts_F", "ModuleCuratorAddPoints_F", "ModuleCuratorSetObjectCosts_F", "ModuleCuratorSetCosts_F", "ModuleCuratorSetCoefs_F", "ModuleCuratorSetDefaultCosts_F", "ModuleCuratorAddEditingAreaPlayers_F", "ModuleMPTypeGameMaster_F", "ModuleRadioChannelCreate_F", "ModuleCuratorSetAttributesPlayer_F" ]; }; if (isNil "JAM_fnc_getEditableObjects") then { JAM_fnc_getEditableObjects = { _allObjs = allMissionObjects 'all'; _editableObjs = []; { if ( ( not ( ( typeOf _x ) in JAM_blacklistedObjectsArray_01 ) ) && ( not ( _x isKindOf "Logic" ) ) ) then { _editableObjs pushBackUnique _x; }; } forEach _allObjs; _editableObjs; }; }; if (isNil "JAM_superCurator_group") then { JAM_superCurator_group = createGroup sideLogic; }; [] spawn _initCode; }] remoteExec ['spawn',2]; comment "JIP"; [[JAM_addZeus_UID,JAM_addZeus_superCuratorVar], { comment "-----------------------------------------------"; if (!hasInterface) exitWith {}; waitUntil { !isNil { player } && { !isNull player } }; waitUntil { !isNull (findDisplay 46) }; comment "-----------------------------------------------"; _curatorUID = _this # 0; _curatorVarStr = _this # 1; if (getPlayerUID player == _curatorUID) then { _curatorPlayer = player; JAM_my_curatorInitText = ("" + "waitUntil {(not isNil """ + _curatorVarStr + """)}; " + "_curatorVar = " + _curatorVarStr + "; " + "_curatorPlayer = _this select 0; " + "[_curatorVar,_curatorPlayer] spawn { _curatorVar = _this # 0; _curatorPlayer = _this # 1; while {((getAssignedCuratorLogic _curatorPlayer) != _curatorVar)} do { unassignCurator _curatorVar; objnull assignCurator _curatorVar; unassignCurator _curatorVar; _curatorPlayer assignCurator _curatorVar; sleep 3.5; }; };" + "JAM_" + _curatorUID + "_updateSuperCuratorEditableObjects = true;" + "_curatorPlayer = _this select 0; '[JAM] >>> Zeus Helper >>> You were given Zeus interface. To open, press [Y].' remoteExec ['systemChat', _curatorPlayer];" + ""); [[JAM_my_curatorInitText,_curatorPlayer],{ _initText = _this # 0; _curatorPlayer = _this # 1; _initCode = compile _initText; [_curatorPlayer] spawn _initCode; }] remoteExec ['spawn',2]; comment "re-assign upon death/respawn"; JAM_keepGivingMeZeus = true; if (!isNil "JAM_EH_autoReassignCuratorUponDeath") then { player removeEventHandler ["Respawn",JAM_EH_autoReassignCuratorUponDeath]; }; waitUntil {(alive _curatorPlayer)}; JAM_EH_autoReassignCuratorUponDeath = player addEventHandler ["Respawn",{ if (JAM_keepGivingMeZeus) then { [] spawn { waitUntil {(alive player)}; sleep 3.5; [[JAM_my_curatorInitText,player],{ _initText = _this # 0; _curatorPlayer = _this # 1; _initCode = compile _initText; [_curatorPlayer] spawn _initCode; }] remoteExec ['spawn',2]; }; }; }]; }; }] remoteExec ['spawn',0,JAM_addZeus_superCuratorVar]; }; _target = player; [_target] spawn JAM_fnc_createAssignCurator; }; }; JAM_fnc_deleteAndUnassignZeus = { if (typeOf getAssignedCuratorLogic player == "") then { comment "do nothing"; systemChat "[JAM] >>> Zeus Helper >>> You already do not have a zeus interface."; } else { JAM_fnc_deleteUnassignCurator = { comment "-----------------------------------------------"; if (!hasInterface) exitWith {}; waitUntil { !isNil { player } && { !isNull player } }; waitUntil { !isNull (findDisplay 46) }; comment "-----------------------------------------------"; _myPlayer = _this # 0; _myCuratorPlayer = _myPlayer; JAM_addZeus_UID = getPlayerUID _myPlayer; JAM_addZeus_superCuratorVar = ("JAM_" + JAM_addZeus_UID + "_superCurator"); JAM_addZeus_superCuratorPlayerAttributesVar = ("JAM_" + JAM_addZeus_UID + "_superCuratorPlayerAttributes"); _JAM_my_curatorInitText = ("" + "if (!isNil """ + JAM_addZeus_superCuratorVar + """) then {" + "JAM_" + JAM_addZeus_UID + "_updateSuperCuratorEditableObjects = false;" + "unassignCurator " + JAM_addZeus_superCuratorVar + ";" + "objnull assignCurator " + JAM_addZeus_superCuratorVar + ";" + "unassignCurator " + JAM_addZeus_superCuratorVar + "; sleep 0.1;" + "comment 'deleteVehicle " + JAM_addZeus_superCuratorVar + ";';" + "};" + "if (!isNil """ + JAM_addZeus_superCuratorPlayerAttributesVar + """) then {" + "comment 'deleteVehicle " + JAM_addZeus_superCuratorPlayerAttributesVar + ";';" + "};" + ""); [_JAM_my_curatorInitText,{ _initText = _this; _initCode = compile _initText; [] spawn _initCode; }] remoteExec ['spawn',2]; comment "remove JIP"; [[JAM_addZeus_UID,JAM_addZeus_superCuratorVar], { comment "-----------------------------------------------"; if (!hasInterface) exitWith {}; waitUntil { !isNil { player } && { !isNull player } }; waitUntil { !isNull (findDisplay 46) }; comment "-----------------------------------------------"; _curatorUID = _this # 0; _curatorVarStr = _this # 1; if (getPlayerUID player == _curatorUID) then { _curatorPlayer = player; JAM_my_curatorInitText = ("" + "_curatorPlayer = _this select 0; '[JAM] >>> Zeus Helper >>> Zeus Interface was removed from your client.' remoteExec ['systemChat', _curatorPlayer];" + ""); [[JAM_my_curatorInitText,_curatorPlayer],{ _initText = _this # 0; _curatorPlayer = _this # 1; _initCode = compile _initText; [_curatorPlayer] spawn _initCode; }] remoteExec ['spawn',2]; JAM_keepGivingMeZeus = false; [] spawn { if (not (isNull (findDisplay 312))) then { (findDisplay 312) closeDisplay 0; }; waitUntil {(not (isNull (findDisplay 312)))}; if (not JAM_keepGivingMeZeus) then { if (not (isNull (findDisplay 312))) then { (findDisplay 312) closeDisplay 0; }; }; }; if (!isNil "JAM_EH_autoReassignCuratorUponDeath") then { player removeEventHandler ["Respawn",JAM_EH_autoReassignCuratorUponDeath]; }; }; }] remoteExec ['spawn',0]; [[],{}] remoteExec ['spawn',0,JAM_addZeus_superCuratorVar]; }; _target = player; [_target] spawn JAM_fnc_deleteUnassignCurator; }; }; JAM_curator_recipients = []; comment "check if player is Zeus"; if (isNil "JAM_fnc_getDisplay46or312") then { JAM_fnc_getDisplay46or312 = { comment "default"; _displayNumber = 46; if ((isNull (findDisplay 312)) && (not isNull (findDisplay 46))) then { _displayNumber = 46; }; if (not isNull (findDisplay 312)) then { _displayNumber = 312; }; comment "return value (display number)"; _displayNumber }; }; comment " - Define critical variables. > JAM_txtSizeNum > JAM_txtSizeStr "; JAM_txtSizeNum = 0.5 * safezoneH; JAM_txtSizeStr = str JAM_txtSizeNum; with uiNamespace do { JAM_txtSizeNum = 0.5 * safezoneH; JAM_txtSizeStr = str JAM_txtSizeNum; }; with missionNamespace do { JAM_txtSizeNum = 0.5 * safezoneH; JAM_txtSizeStr = str JAM_txtSizeNum; }; comment " ...Variables Defined. "; JAM_open_selectJAMZeusRecipients = { JAM_curator_recipients = []; _centerScreenPos = [0.494844 * safezoneW + safezoneX,0.489 * safezoneH + safezoneY,0.004125 * safezoneW,0.0055 * safezoneH]; disableSerialization; d_selectJAMZeusRecipients = (findDisplay ([] call JAM_fnc_getDisplay46or312)) createDisplay "RscDisplayEmpty"; showChat true; _ctrl_selectJAMZeusRecipientsTitle = d_selectJAMZeusRecipients ctrlCreate ["RscStructuredText", -1]; _ctrl_selectJAMZeusRecipientsTitle ctrlSetStructuredText parseText ("<t valign='middle' align='center' size='" + (str (JAM_txtSizeNum * 0.8)) + "'>ZEUS HELPER >>> CURATOR CREATOR<br/><t size='" + (str (JAM_txtSizeNum * 0.7)) + "'>(Create and Assign New Zeuses)<t/>"); _ctrl_selectJAMZeusRecipientsTitle ctrlSetBackgroundColor [0,0,0,0.77]; _ctrl_selectJAMZeusRecipientsTitle ctrlSetPosition _centerScreenPos; _ctrl_selectJAMZeusRecipientsTitle ctrlSetFade 1; _ctrl_selectJAMZeusRecipientsTitle ctrlCommit 0; _ctrl_selectJAMZeusRecipientsTitle ctrlSetPosition [0.427812 * safezoneW + safezoneX,0.313 * safezoneH + safezoneY,0.128906 * safezoneW,0.033 * safezoneH]; _ctrl_selectJAMZeusRecipientsTitle ctrlSetFade 0; _ctrl_selectJAMZeusRecipientsTitle ctrlCommit 0.5; ctrl_sJr_PlayerList = d_selectJAMZeusRecipients ctrlCreate ["RscListBox", -1]; { _pL_index = ctrl_sJr_PlayerList lbAdd name _x; } forEach allPlayers; ctrl_sJr_PlayerList ctrlSetPosition _centerScreenPos; ctrl_sJr_PlayerList ctrlSetFade 1; ctrl_sJr_PlayerList ctrlCommit 0; ctrl_sJr_PlayerList ctrlSetPosition [0.427812 * safezoneW + safezoneX,0.379 * safezoneH + safezoneY,0.061875 * safezoneW,0.22 * safezoneH]; ctrl_sJr_PlayerList ctrlSetFade 0; ctrl_sJr_PlayerList ctrlCommit 0.5; ctrl_sJr_recipientList = d_selectJAMZeusRecipients ctrlCreate ["RscListBox", -1]; ctrl_sJr_recipientList ctrlSetPosition _centerScreenPos; ctrl_sJr_recipientList ctrlSetFade 1; ctrl_sJr_recipientList ctrlCommit 0; ctrl_sJr_recipientList ctrlSetPosition [0.494844 * safezoneW + safezoneX,0.379 * safezoneH + safezoneY,0.061875 * safezoneW,0.22 * safezoneH]; ctrl_sJr_recipientList ctrlSetFade 0; ctrl_sJr_recipientList ctrlCommit 0.5; _ctrl_cancel = d_selectJAMZeusRecipients ctrlCreate ["RscButtonMenu", -1]; _ctrl_cancel ctrlSetStructuredText parseText ("<t valign='middle' align='center' size='" + JAM_txtSizeStr + "'>CLOSE<t/>"); _ctrl_cancel ctrlSetTooltip "Cancel the script and close this menu."; _ctrl_cancel ctrladdEventHandler ["ButtonClick",{ d_selectJAMZeusRecipients closeDisplay 0; JAM_curator_recipients = []; }]; _ctrl_cancel ctrlSetFade 1; _ctrl_cancel ctrlSetPosition _centerScreenPos; _ctrl_cancel ctrlCommit 0; _ctrl_cancel ctrlSetPosition [0.469063 * safezoneW + safezoneX,0.698 * safezoneH + safezoneY, 0.0464063 * safezoneW,0.022 * safezoneH]; _ctrl_cancel ctrlSetFade 0; _ctrl_cancel ctrlCommit 0.5; _ctrl_removeJAMZeusbutton = d_selectJAMZeusRecipients ctrlCreate ["RscButtonMenu", -1]; _ctrl_removeJAMZeusbutton ctrlSetStructuredText parseText ("<t valign='middle' align='center' size='" + JAM_txtSizeStr + "'>---------REMOVE ZEUS---------<t/>"); _ctrl_removeJAMZeusbutton ctrlSetTooltip "Delete and unassign unique zeus module for each player on the right-hand list."; _ctrl_removeJAMZeusbutton ctrlSetBackgroundColor [0.5,0.2,0,0.6]; _ctrl_removeJAMZeusbutton ctrladdEventHandler ["ButtonClick",{ if (count JAM_curator_recipients != 0) then { d_selectJAMZeusRecipients closeDisplay 0; { _recipientName = _x; systemChat ("[JAM] >>> Zeus Helper >>> Removing Zeus from " + (_recipientName) + "..."); { if ((name _x) == (_recipientName)) then { [JAM_fnc_deleteAndUnassignZeus,{ _code = _this; [] spawn _code; }] remoteExec ['spawn',_x]; }; } forEach allPlayers; } forEach JAM_curator_recipients; comment "[] call JAM_init;"; } else { hint "[JAM] : ERROR : You have not selected any players; Array is empty."; systemChat "[JAM] : ERROR : You have not selected any players; Array is empty."; }; }]; _ctrl_removeJAMZeusbutton ctrlSetPosition _centerScreenPos; _ctrl_removeJAMZeusbutton ctrlSetFade 1; _ctrl_removeJAMZeusbutton ctrlCommit 0; _ctrl_removeJAMZeusbutton ctrlSetPosition [0.432969 * safezoneW + safezoneX,0.654 * safezoneH + safezoneY,0.118594 * safezoneW,0.033 * safezoneH]; _ctrl_removeJAMZeusbutton ctrlSetFade 0; _ctrl_removeJAMZeusbutton ctrlCommit 0.5; _ctrl_addBtn = d_selectJAMZeusRecipients ctrlCreate ["RscButtonMenu", -1]; _ctrl_addBtn ctrlSetStructuredText parseText ("<t valign='middle' align='center' size='" + JAM_txtSizeStr + "'>Add<t/>"); _ctrl_addBtn ctrlSetTooltip "Add selected player to the target list."; _ctrl_addBtn ctrlSetBackgroundColor [-1,0.5,-1,0.6]; _ctrl_addBtn ctrladdEventHandler ["ButtonClick",{ _selectedItem = lbCurSel ctrl_sJr_PlayerList; _playerName = ctrl_sJr_PlayerList lbText _selectedItem; if (JAM_curator_recipients find _playerName == -1) then { JAM_curator_recipients pushBackUnique _playerName; ctrl_sJr_recipientList lbAdd _playerName; }; }]; _ctrl_addBtn ctrlSetPosition _centerScreenPos; _ctrl_addBtn ctrlSetFade 1; _ctrl_addBtn ctrlCommit 0; _ctrl_addBtn ctrlSetPosition [0.427812 * safezoneW + safezoneX,0.357 * safezoneH + safezoneY,0.061875 * safezoneW,0.022 * safezoneH]; _ctrl_addBtn ctrlSetFade 0; _ctrl_addBtn ctrlCommit 0.5; _ctrl_removeBtn = d_selectJAMZeusRecipients ctrlCreate ["RscButtonMenu", -1]; _ctrl_removeBtn ctrlSetStructuredText parseText ("<t valign='middle' align='center' size='" + JAM_txtSizeStr + "'>Remove<t/>"); _ctrl_removeBtn ctrlSetTooltip "Remove selected player from the target list."; _ctrl_removeBtn ctrlSetBackgroundColor [0.5,-1,-1,0.6]; _ctrl_removeBtn ctrladdEventHandler ["ButtonClick",{ _selectedItem = lbCurSel ctrl_sJr_recipientList; _playerName = ctrl_sJr_recipientList lbText _selectedItem; if (JAM_curator_recipients find _playerName > -1) then { _idx = JAM_curator_recipients find _playerName; JAM_curator_recipients deleteAt _idx; ctrl_sJr_recipientList lbDelete _selectedItem; }; }]; _ctrl_removeBtn ctrlSetPosition _centerScreenPos; _ctrl_removeBtn ctrlSetFade 1; _ctrl_removeBtn ctrlCommit 0; _ctrl_removeBtn ctrlSetPosition [0.494844 * safezoneW + safezoneX,0.357 * safezoneH + safezoneY,0.061875 * safezoneW,0.022 * safezoneH]; _ctrl_removeBtn ctrlSetFade 0; _ctrl_removeBtn ctrlCommit 0.5; _ctrl_giveJAMZeusbutton = d_selectJAMZeusRecipients ctrlCreate ["RscButtonMenu", -1]; _ctrl_giveJAMZeusbutton ctrlSetStructuredText parseText ("<t valign='middle' align='center' size='" + JAM_txtSizeStr + "'>------------GIVE ZEUS------------<t/>"); _ctrl_giveJAMZeusbutton ctrlSetTooltip "Create and assign unique zeus module for each player on the right-hand list."; _ctrl_giveJAMZeusbutton ctrlSetBackgroundColor [-1,-1,0.4,0.6]; _ctrl_giveJAMZeusbutton ctrladdEventHandler ["ButtonClick",{ if (count JAM_curator_recipients != 0) then { d_selectJAMZeusRecipients closeDisplay 0; comment "[] call JAM_init;"; { _recipientName = _x; systemChat ("[JAM] >>> Zeus Helper >>> Giving Zeus to " + (_recipientName) + "..."); { if ((name _x) == (_recipientName)) then { [JAM_fnc_createAndAssignZeus,{ _code = _this; [] spawn _code; }] remoteExec ['spawn',_x]; }; } forEach allPlayers; } forEach JAM_curator_recipients; } else { hint "[JAM] : ERROR : You have not selected any players; Array is empty."; systemChat "[JAM] : ERROR : You have not selected any players; Array is empty."; }; }]; _ctrl_giveJAMZeusbutton ctrlSetFade 1; _ctrl_giveJAMZeusbutton ctrlSetPosition _centerScreenPos; _ctrl_giveJAMZeusbutton ctrlCommit 0; _ctrl_giveJAMZeusbutton ctrlSetPosition [0.432969 * safezoneW + safezoneX,0.61 * safezoneH + safezoneY,0.118594 * safezoneW,0.033 * safezoneH]; _ctrl_giveJAMZeusbutton ctrlSetFade 0; _ctrl_giveJAMZeusbutton ctrlCommit 0.5; systemChat "[JAM] >>> Zeus Helper >>> Select players to give or remove Zeus Interface."; }; comment "close debug console"; if ( not (isNull (findDisplay 49)) ) then { (findDisplay 49) closeDisplay 0; }; waitUntil { isNull (findDisplay 49) }; sleep 0.1; systemChat "[JAM] >>> Zeus Helper >>> Spawning GUI..."; [] spawn JAM_open_selectJAMZeusRecipients; }; - Feel free to give me some feedback on this script, as I am sure there are some bugs to be reported with it, and I would like to improve it however I can. I might make an alternate version where it doesn't auto-add objects to the Zeus interface every 30 seconds.
  3. Hello! Now, I am kind of new to the "running arma 3 server" scene but have ran certain servers before. The Arma 3 Life scene for awhile was stagnant and there was too much of a variety to choose from and the variety honestly had little to no development that actually improved the experience in game. I have been a member of life servers for over 4 years now, being on many different communities and experiencing a lot of good, bad, and frustrating times. This is why I am trying to bring back Arma 3 life to it's former glory, in 2019 it's hard to think of a good FREE server to play on besides Altis Life and maybe City Life. But I don't want Altis, or Lakeside as the map. I want a fresh brand new map built from the ground up. A place where people can experience for the first time and explore many different locations. I want fresh mods customized to bring the best roleplay experience to the community. Custom building, possibly, and custom scripts. Now, a few things are is that I NEED HELP. Specifically with development, scripting, and hosting the server. If anyone is willing to help me with these things please shoot me an email -- jaylenryan@icloud.com A few specific questions that I have are.... 1. What host should I use to run the server if my connection isn't the best (because college internet). 2. How do I script mods into my server, add mods, and set up TFR so we can have a better VOIP in game. 3. Website creation has never been my strong suit, so how should I go about that? 4. How do I create a custom map, from the ground up? Thank you again for taking the time to read this, and again, if you'd like to contact me either reply here or shoot me an email -- jaylenryan@icloud.com Have a great day!
  4. Greetings everyone, could you help me pls with that build. I'm a rookie in Arma 3 Editing. I'm just want to do dynamic AI take off from STRATIS AirBase and after take off they moved to Trigger who delete them, and repeat this every time in Scenario. Could you steer me in the right way to build this. Thanks. What i did. First: MultiPlayer ModuleRespawnVehicle_F - connect to My Vehicle names FBH - AI unit get in - MovePoint to Trigger {deleteVehicleCrew _x} forEach crew; deleteVehicle FBH;}, and they don't respawn, bacause Trigger delete them forever. And i'cant find any replacement to this function for my build. And second : i dont know how to respawn units. Please treat with understanding.
  5. Some video capture using Firewill's F-14D and Mikey74's CarCom Script (2nd video has bug shown on Tomcat "gear down in flight" https://www.youtube.com/watch?v=8kMdmiIygEU https://www.youtube.com/watch?v=EfqLU5B5dFI Has anyone seen this or know of any fixes? UPDATED: By ACTUALLY SEARCHING for the answer, I found (stumbled across) a snippet of aircraft actions in response to a post in 2011, by the great kylania. on activation trigger anyUnit action ["LandGearUp", plane]; at end of deck. Gear up. So, in brief it's fixed.... I think.I mean it works all of the time. Thank you! Mods please lock post as solved
  6. Hello Everyone, I'm new to the arma modding community so bare with me. Using the Eden editor and scripts using ASL i was successful in creating a HitTracker, it works perfectly withing the mission that i created on and if i copy and paste the scripts it work on any mission i create or download. But continuously coping and paste is a hassle so i was trying to make the scripts into a mod. This is where i ran into a problem, i learned how to make the .pbo and the Kay, but the config.cpp i doubt is correct(Because i only initialize one script). My question to the community is can you initialize more the one script in a mod, and if you can how do i do so? (My code is on my work computer so i cant post it, but its wrong anyway.) If anyone can post a template of how to initialize the scripts i think i can figure it out from there.
  7. Hello Everyone, I'm new to the arma modding community so bare with me. Using the Eden editor and scripts using ASL i was successful in creating a HitTracker, it works perfectly withing the mission that i created on and if i copy and paste the scripts it work on any mission i create or download. But continuously coping and paste is a hassle so i was trying to make the scripts into a mod. This is where i ran into a problem, i learned how to make the .pbo and the Kay, but the config.cpp i doubt is correct(Because i only initialize one script). My question to the community is can you initialize more the one script in a mod, and if you can how do i do so? (My code is on my work computer so i cant post it, but its wrong anyway.) If anyone can post a template of how to initialize the scripts i think i can figure it out from there.
  8. Hello, someone knows how a trigger can be activated just when a sound ends? For example when a trigger starts a sound, i want when it ends, another trigger should be activated. I would be so grateful, thanks
  9. COMBAT REALISM SCRIPTS DESCRIPTION: Combat Realism Scripts is a totally addon-free set of light weight scripts for Arma 3 which enhance the gameplay in your mission. Features are SP, MP, and Dedicated compatible. Script will deactivate itself if it detects ACE running. VIDEO: SCREENSHOTS: N/A FEATURES: Features listed in italic font are not yet developed Backblast - Knocks down & severely injures those in your backblast radius Cookoff Deafness Disposable Launchers - Single-use disposable launchers Flashbang - RGN Grenade acts as a flashbang; also blinds AI Flashlight - Simply plays a sound when you toggle your flashlight/laser Fragmentation Grenade - RGO Grenades spew shrapnel upon detonation Hand Flares Holster Weapon - You can holster your sidearm/sling rifle on your back Interact Medical System STFU CARL - Mutes your character's voice Shoulder Tap Surrender - You can surrender. You are released when a friendly is <3m away Tactical Hand Gestures - Perform tactical hand gestures Tactical Point - Player points at what he's Tactical Pinging Tear Gas Weapons Animations - Appropriate animations when mounting/dismounting attachments Weapon Jamming - Rare chance for weapon to jam while firing Weapon Safety - Switch weapon to safe, to help prevent negligent discharges Wire Cutters More features may get added to the list. All features can be easily configured / disabled by the mission designer. TO DO LIST: Improve/rewrite current features (They're mostly proof of concept and need to be expanded upon) Add the features listed in italic font KNOWN BUGS: Post-process effects do not reset after being backblasted Weapon attachment animations play when moving attachment into/out of container CREDITS: Phronk: Script Creator Bohemia Interactive: Sounds, models, textures, animations TESTERS: Chaser (ATCAG) KingCarter (ATCAG) Phoenix (ATCAG) PRYMSUSPEC (22.NOV.2017) Version: 0.1 Size: 22 KB DOWNLOAD LINK - (Google Drive) DOWNLOAD LINK - (Steam Workshop - Unavailable) DOWNLOAD LINK - (Armaholic) CHANGE-LOG: (22.NOV.2017) - v0.1 Initial release
  10. Hello! I have been trying to make a wheelchair (Yes a wheelchair!) go faster (It currently goes about 12-14 km/h) I would like it to go 200 km/h. I can´t figure it out my self, I have tested to use "limitSpeed" and "setVelocity" but the problem is that I am not really so good at scripting so I would like to get some help to get it the script to work. Thanks!
  11. Hi there, It's quite annoying when someone else has used the gunner seat of a Heli, offsetting its position, and you later decide to Manual Fire from the pilot's seat and have a misaligned gun. I've been putting a lot of effort into setting up a script that can deal with this via a User Action, however I'm getting a few errors. A few of them are about missing " ) ", " ] ", " ; " (though I have done my best to never leave these out, including using a bracket checker plugin), or invalid variables (which is probably because it's checking a variable before it's set). To summarise, when a player pilot is in an armed Heli, they shall get a user action to centre the turret. This will have either the current AI or a temporary, invisible AI in the gunner seat target a spawned marker in front of the vehicle (if a player is in the seat it won't affect them). I currently have five six files in relation to this. EDIT: Below has been updated to the latest working script - If you get errors make sure there's no invisible characters using Word It requires CBA mission.Malden\init.sqf mission.Malden\description.ext mission.Malden\functions\functions.hpp mission.Malden\functions\fn_centreTurret.hpp mission.Malden\functions\fn_allowCentreTurret.sqf mission.Malden\functions\fn_turretDir.sqf Currently, unit spawning, marker generation and AI watching are working as intended, however the user action does not appear and if i set off turretdir.sqf manually ( [] execVM "turretdir.sqf"; ) it errors. EDIT: All working as intended. I'm not as proficient at SQF scripting as I'd like to be, so I've probably made some very obvious mistakes. Any help setting this up correctly and optimising would be appreciated. I will keep trying in the meantime.
  12. Hi All, First time on these forums. I've created a unoptimized script that clears roads of obstacles to make it easier for AI to navigate past the clutter. It works to clear the roads but takes so damn long to execute. Any ideas here? Basically, the script works by looking for all roads within a radius then obtains all the nearest objects on that road and hides them. //0 = [player,1000,10] execvm "clearroad.sqf"; //here's what to put in the init.sqf //item 1 is the object that will be the center e.g. player //item 2 is the radius where all the roads that will be impacted e.g. 1000m around the player //item 3 is the area of the road that will be cleared e.g. 10 meters of road to be cleared _pos = _this select 0; _radius = _this select 1; _radius2 = _this select 2; _roadList= getpos _pos nearroads _radius; _notobjects = []; _i = 1; _arraycount = count _roadList; while {_i < _arraycount} do { _arr = nearestObjects [getpos (_roadList select _i), [], _radius2]; _arr2 = nearestterrainObjects [getpos (_roadList select _i), [], _radius2]; _notobjects = _notobjects + _arr + _arr2; _i = _i + 1; }; {hideobject _x} foreach _notobjects; kind regards, Lemon
  13. Gentlemen, I finally got around to turn a script collection into a addon, ready to be uploaded to steam. I however need to provide the user with a ingame/eden editor module interface so the user can adjust the settings of the script/addon before i can release the addon in order to make it customizable. E.g. disable feature 1 from spawning, increasing the amount of times feature 2 spawns, define classnames for an array and so on. I have unsuccessfully tried to wrap my head around this wiki: https://community.bistudio.com/wiki/Modules I get the example from the wiki above to work in Eden Editor, however, I get quite lost when trying to adapt this example or create a new module from scratch for my addon. What do I want to do: Let the addon user define variables in Eden Editor that will then be executed accordingly in the features of my addon according to these settings. I want to have a "module - mask" per feature that lets the user change or set variables that have so far been defined and altered in a settings.sqf. (see below spoiler) As an example for the feature that spawns Banditcamps: the below variables need to pass on as true, false or representing a number, so once a feature is executed, it can access these variables with the desired values. Ideally i am looking for a template with a few options to enter a number, and a few options for true/false and one or two to enter a string (classnames, or marker names for arrays). Any help, insights or link to alternative guides is greatly appreciated!=) cheers Vd
  14. GEORGE FLOROS GR

    Scripts Discussion

    Scripts Discussion Information : Feel free to share and discuss , about Scripts used alongside Ravage Mod. For anyone who has interest on scripting : I also suggest to follow , the BIS Forum Members below , who really help and share their work and knowledge : # the list is off course on random. https://forums.bohemia.net/profile/900806-pierremgi/ https://forums.bohemia.net/profile/770615-larrow/ https://forums.bohemia.net/profile/832107-grumpy-old-man/ https://forums.bohemia.net/profile/773718-hazj/ https://forums.bohemia.net/profile/842941-davidoss/ https://forums.bohemia.net/profile/906542-schatten/ https://forums.bohemia.net/profile/759255-mrcurry/ https://forums.bohemia.net/profile/792430-dedmen/ I thank personally and public , this members , for everything so far. An updated List will be available here : List : 1.GF Unit Spawner Script
  15. Hi, all Does anyone have a copy of these scripts, both by General Barron, they'd be happy to share? The latest version of the custom formation script is 1.5 - I am unsure what the latest version of the squad rush script is. Thank you!
  16. I've been using this script for some time by JohnO that I stumbled across in some forums and I made it a point to make his script even better! This is a good script to use to make any survival scenario better! As In my case I use this script with my Ravage releases. The Script: Changelog/ edit notes: v1.5 JohnO- Removed legacy fatigue settings and put new stamina settings in v2.0 MuRaZorWitchKING - added colorization of effects to make them more "appealing" v2.5 MuRaZorWitchKING - made script compatible with Ravage fireplaces that the player can place on ground v3.0 MuRaZorWitchKING - tweaked distances required to be from fireplaces/buildings for warmth v4.0 MuRaZorWitchKING - added in land vehicles being another form of covering for players to use for warmth so buildings and fires aren't relied upon Readme: In Order to use the script you need to have an init.sqf file that needs this script loaded into it in order for it to be used. In order for the script to work properly you ARE going to need the classnames of the list of clothing you are wanting to use for the player to get cold in. READ THIS: The classnames that you add into the script ARE THE COLD CLOTHING, everything listed will be a cold outfit, everything NOT listed will NOT be a cold outfit. THESE CLASSNAMES NEED TO BE FILLED OUT BY YOU: ////////////////////////////////////////////////////////////////\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ //Civilian "", //Soldier "", //Guarilla "", ////////////////////////////////////////////////////////////////\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ Once you figure out the classname of the outfit for example "U_C_Journalist" then you will place the name inside the "" and you will separate each item with a comma as seen in the example. If you want a FULL release of the script (filled out with all the classnames) I will be happy to help, this is more of a very simple layout, and should be taken as such, this script is for YOU to customize to your scenario/map wants and needs. ///////VERY IMPORTANT PLEASE READ: Please take note this is NOT my script, this is just someone else's work that I have revamped for a re-release. If the original author of the script no longer wants this up, this post WILL be removed. I hope you all enjoy this, JohnO did an amazing job on the script and is the original Author of it, I just thought it deserved a little more tweaking and a re-release. :) PLEASE REMEMBER TO GIVE CREDITS TO ORIGINAL AUTHOR: JohnO Link to Author's Original release: https://www.exilemod.com/topic/7717-detrimental-weather-effects-script/ ////////////////////////////////////////////////////////////////////////////////////////////////// Update for Frigid water Settings The Script: Simply add this script into your init.sqf in order to use it :) //PLEASE READ: YOU ARE FREE TO EDIT THIS SCRIPT, CHANGE IT WHICH WAY YOU WANT, BUT I WOULD LIKE CREDITS PLEASE. @GEORGE FLOROS GR Also helped me correct my errors after typing this script, couldn't of done it without this guy! ////NOTES: Both of these scripts are compatible with one another and work greatly paired together. ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// Hypothermia Script / Severe Weather based off of JohnO's weather effects script: Simply put the script in your init.sqf for it to be initialized. Please Read: This script is based off the Detrimental weather effects script by JohnO, so similarities will exist, as I used Detrimental Weather effects as a template for this script. this script uses wetness as a buildable value that can build up to a deadly level and can leave you with Hypothermia... You will need shelter, fire, and of course you will need to stay out of rough weather... This script is only active is severe weather storms, if the weather isn't above a factor of 0.6 then this script will not be called... This script is for a severe weather system only, unless edited. All three scripts seem to work together, I cannot say this is for sure or certain, but in the playtime I have been using them I have seen them work... In order to get all three to work together you must edit out all the "_rainLevel" lines in the weather effects script... So both scripts aren't searching for "rain". ALL FOUR SCRIPTS COMBINED MAKE FOR AN EXTREMELY REACTIVE WORLD THAT IS TOUGH TO SURVIVE IN. //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// Simple "Cold Altitude" script:
  17. Hi all: Maybe everyone have complained about AI aim is too accurate, but I got a opposite problem. It’s usually happened in my mission,AI has poor aim performance in mid range , like 2 squad shot each other I see them used more than 6 mags then may able to kill one of the enemy.....so I wonder is any scripts able to make it’s must be hit targets during the complex shot time(like among each 10 shots must contain one time shot able to on target) Then still any way able to let AI fire the weapon and also keep moving but not stand or lay down?(like AI move forward and firing in same time) Thanks for help.
  18. This is a complete script tool suite Bohemia Interactive's game engine used in ARMA II and ARMA 3. Poseidon Tools supports all text files (Scripts & configs) used by the Real Virtuality. Initially, this project was named "BI PTE" (BI Plain Text Editor) and was renamed Poseidon Tools when it was publicly released, in august 2013. So, the name, Poseidon Tools, is a tribute to the very first version of the Real Virtuality engine, "Poseidon", which is the base of all the Arma series. Latest announcement: Version 0.994.211 Features Project management Instant Project Switch Distraction Free Mode and full screen Split Editing (Can display up to four file on the same screen) Auto Completion (based on commands and existing text in the file) Current and parent brackets highlight Persistent sessions Snippets (eg: file header, control structures, game functions etc…) Syntax highlighter (for SQF (from ofp to arma 3), SQM, HPP, CPP, EXT…) Full support of SQF & SQS, XML, Cpp, CFG, RPT Can open RPT from the menu (Arma 3, Arma 3 diagnostic, Arma 2…) Can open SQM, BIEDI with Arma 3 Magic key F8 File diff Support of Mikero Tools Support of Arma 3 Tools Refresh the opened files everytime you get back to it Macro creation Documentation link and so on… Notes Some features require Arma 3 Tools installed; Every new release require a full clean install; Some other features require Mikero Tools installed; This is not an official tool, use at your own risks; Documentation is here: http://tom4897.info/projects/poseidon-tools/ I urge you to read the documentation and especially the shortcuts list Download Poseidon Tools @ tom4897.info - 0.994.211 Poseidon Tools @ armaholic.com - 0.994.209 Thanks Sublime Text devs, JonBons, Yourry, RawLine, Arma3.fr, Bohemia Interactive, The community, Arma2-wiki.fr, Armaholic, Arto, Tigerforce, Colin T.A. Gray, Will Bond, Lord, Noubernou, Mikero, Private Nelson, Sho
  19. As the title says, I'm needing help calling a script once the character touches the surface of water, I have tried calling in the script from a game logic module but when I attempt that on the intro of the mission the script is running and it begins and it bugs out, any help would be greatly appreciated. Not sure if it's as simple as // while {surfaceiswater (getPos Player)} do {execVM "Coldwaters.sqf";// or some type of call like that, but I keep getting errors in my expressions as I don't know the syntax very well, thanks! If it cannot be called by a Gamelogic module then I'll be needing help with inserting the call at the beginning of the script as well. :)
  20. Good guys, I would like you to help me with this script: It turns out that I made this script with the purpose that when a unit is eliminated depending on the side it is, it does an action, but I do not know what it would be doing wrong. this script if it worked as it wanted in dedicated server: FAM_DeadCivilianCount = 0; publicVariable "FAM_DeadCivilianCount"; { if (side _x == Civilian && _x iskindof "Man") then { _x addEventHandler ["killed", { ["Civil", ["Han Matado un Civil. Penzalización -2 Puntos!"]] remoteExecCall ["BIS_fnc_showNotification"]; FAM_DeadCivilianCount = FAM_DeadCivilianCount + 2; publicvariable "FAM_DeadCivilianCount"; }]; }; } foreach allunits; But when I combine it in this way for the other side: FAM_DeadCivilianCount = 0; FAM_DeadPlayerCount = 0; FAM_DeadPEnemyCount = 0; publicVariable "FAM_DeadCivilianCount"; publicVariable "FAM_DeadPlayerCount"; publicVariable "FAM_DeadPEnemyCount"; { if (side _x == Civilian && _x iskindof "Man") then { _x addEventHandler ["killed", { ["Civil", ["Han Matado un Civil. Penzalización -2 Puntos!"]] remoteExecCall ["BIS_fnc_showNotification"]; FAM_DeadCivilianCount = FAM_DeadCivilianCount + 2; publicvariable "FAM_DeadCivilianCount"; }]; } else { if (side player == WEST && player iskindof "Man") then { player addEventHandler ["killed", { ["JugadorDead", ["Miembro de equipo Muerto. Penzalización -1 Puntos!"]] remoteExecCall ["BIS_fnc_showNotification"]; FAM_DeadPlayerCount = FAM_DeadPlayerCount + 1; publicvariable "FAM_DeadPlayerCount"; }]; }; } else { if (side _x == EAST && _x iskindof "Man") then { if (FAM_DeadPEnemyCount == 20) then { publicVariable "FAM_DeadPEnemyCount"; objetivoTareaTres = objetivoTareaTres + 2; publicVariable "objetivoTareaTres"; ["tareaTres", ["20 Enemigos Muertos. Reciben 2 Puntos!"]] remoteExecCall ["BIS_fnc_showNotification"]; //hint str cash; }; _x addEventHandler ["killed", { ["JugadorDead", ["Miembro de equipo Muerto. Penzalización -1 Puntos!"]] remoteExecCall ["BIS_fnc_showNotification"]; FAM_DeadPEnemyCount = FAM_DeadPEnemyCount + 1; publicVariable "FAM_DeadPEnemyCount"; }]; }; }; } foreach allunits; It throws me an error and I would like to know how they help me in Server to work correctly. thanks and regards.
  21. Hello I am REALLY bad at doing scripts, I tried looking for a way to add a custom alarm to and object that will be able to set off via scroll wheel by anyone... I could really use some help.
  22. Hey guys, I recently started mission making again and found three of the older scripts I used before very useful for my new mission, but I won't work. I don't get any errors in the server logs but players are still able to access vehicles which should be restricted. I would appreciate any help on this: this is the first one called pilotCheck.sqf: _AllowPilots = ["rhsusf_army_ocp_helipilot", "rhsusf_army_ocp_helicrew"]; while {true} do { waitUntil {sleep 0.5; alive player}; if (!((typeof player) in _AllowPilots)) then { private "_v"; while {alive player} do { waitUntil {sleep 0.5; vehicle player != player}; _v = vehicle player; if (_v isKindOf "Helicopter" && !(_v isKindOf "ParachuteBase")) then { if (driver _v == player) then { player action ["eject", _v]; waitUntil {sleep 0.5; vehicle player == player}; player action ["engineOff", _v]; hint "You must be a pilot to fly!\nJoin Us @ http://fox-command.de/"; }; }; }; } else { waitUntil {sleep 0.5; !alive player}; }; }; second called foxlock.sqf: /* Checks if the player attempting to get in pilot seat is both a pilot and is whitelisted in the _SOAR list of player UIDs. Add more UIDs to the list as follows ["UID", "nextuid", "lastuid"] Use with care, [FOX] EiQuantumXo */ _SOAR = [/* Fox Command Unit Last Updated: Friday, 31st Aug., 2018 Updated By: [FOX] EinQuantumXo, Julien] */ "765xxxxxxxxxxx294"/* xxx*/, "765xxxxxxxxxxx938"/* xxx*/, "765xxxxxxxxxxx896"/* xxx */ ]; _AirRoles = ["rhsusf_army_ocp_helipilot", "rhsusf_army_ocp_helicrew"]; _RestrictAir = ["B_AH9_F", "O_Ka60_F", "RHS_UH60M__MEV_d", "RHS_AH64D", "RHS_CH_47F_light"]; while {true} do { waitUntil {sleep 0.5; alive player}; if (!((getPlayerUID player) in _SOAR) && ((typeof player) in _AirRoles)) then { private "_v"; while {alive player} do { waitUntil {sleep 0.5; vehicle player != player}; _v = vehicle player; _t = typeof _v; if (_t in _RestrictAir) then { if (driver _v == player) then { player action ["eject", _v]; waitUntil {sleep 0.5; vehicle player == player}; player action ["engineOff", _v]; hint "Authorized FOX Pilots Only!\nJoin Us @ http://fox-command.de/"; }; }; }; } else { waitUntil {sleep 0.5; !alive player}; }; }; third called foxlock2.sqf (isn't used actively): /* Checks if the player attempting to get in driver seat of armed vehicles is whitelisted in the _SOAR list of player UIDs. Add more UIDs to the list as follows ["UID", "nextuid", "lastuid"] Use with care, [FOX] EiQuantumXo, Julien] */ _SOAR = [/* Fox Command Unit Last Updated: Friday, 31st Aug., 2018 Updated By: [FOX] EinQuantumXo, Julien] */ "765xxxxxxxxxxx294"/* xxx */, "765xxxxxxxxxxx938"/* xxx */, "765xxxxxxxxxxx896"/* xxx */ ]; _RestrictLandSea = ["B_Hunter_HMG_F", "B_Hunter_RCWS_F", "B_SpeedBoat", "O_Ifrit_MG_F", "O_Ifrit_GMG_F", "O_SpeedBoat"]; while {true} do { waitUntil {sleep 0.5; alive player}; if !((getPlayerUID player) in _SOAR) then { private "_v","_t"; while {alive player} do { waitUntil {sleep 0.5; vehicle player != player}; _v = vehicle player; _t = typeof _v; if (_t in _RestrictLandSea) then { if ((driver _v == player) or (gunner _v == player)) then { player action ["eject", _v]; waitUntil {sleep 0.5; vehicle player == player}; player action ["engineOff", _v]; hint "Authorized FOX Drivers/Gunners Only!\nJoin Us @ http://fox-command.de/"; }; }; }; } else { waitUntil {sleep 0.5; !alive player}; }; }; I call them through the init of every playable unit with this code: nul = [] execVM "pilotCheck.sqf"; nul = [] execVM "foxlock.sqf"; nul = [] execVM "foxlock2.sqf"; this addMPEventHandler ["mprespawn",{nul = [] execVM "pilotCheck.sqf"; nul = [] execVM "foxlock.sqf"; nul = [] execVM "foxlock2.sqf";}]; Thanks for reading and helping, greetings Quantum
  23. Hey. I have one problem. How to make Insignia work properly. this works just fine as long as you're alive. But when the player dies and then spawn again that insignia is gone. how to fix this bug?
  24. i am a noob, i know that. im trying to create a server side addon that i can put my scripts/functions in. i have a test setup that is just supposed to do hello world. can someone please tell me what im doing wrong. thank you for any help. image of my current setup. https://imgur.com/a/cfRcA3i
  25. Hi guys I got some problems, Is there any way to call land crops as support units just like the showcase,if I need help I can call them from command menu and them will move to my location. Then ,the second problem,is there any scripts which effectively let plane drop bombs? In fact, I use DAS air support mod for long time but after the last update this mod sometimes not work ,planes only able to drop LGBs to target highlighted by laser and still only with a single bomb,I just wonder some ways able let plane drop more bombs in once time. Thanks
×