MrMichael
Member-
Content Count
10 -
Joined
-
Last visited
-
Medals
-
Medals
Community Reputation
10 GoodAbout MrMichael
-
Rank
Private
-
Remove Nightvision Add Flashnight ZEUS script loop server
MrMichael replied to MrMichael's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Just tested all solutions above, still end up with the same result as before. On dedicated servers, it removes the NVGs but not replace the designator with the flashlight Whereas on local server, it works fine. EDIT: Seems the solution is to remove: if (isServer OR isDedicated) then { then it works. Thanks for you all your help! -
Remove Nightvision Add Flashnight ZEUS script loop server
MrMichael replied to MrMichael's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Sorry, I didn't know it made a difference. I actually do have it like that In Init.sqf: //NVGs if (isserver) then {execVM "nvg.sqf";}; and in nvg.sqf //if (isserver) then { //while {true} do { //{ // if (side _x == east) then // { // _x removeweapon "NVGoggles_OPFOR"; // _x removePrimaryWeaponItem "acc_pointer_IR"; // _x addPrimaryWeaponItem "acc_flashlight"; // }; // }foreach allUnits; // //sleep 5; //} //}; // //if (isserver) then { //while {true} do { //{ // if (side _x == west) then // { // _x removeweapon "NVGoggles_BLUFOR"; // _x removePrimaryWeaponItem "acc_pointer_IR"; // _x addPrimaryWeaponItem "acc_flashlight"; // }; // }foreach allUnits; // //sleep 5; //} //}; // if (isserver) then { while {true} do { { if (side _x == independent) then { _x removeweapon "NVGoggles_INDEP"; _x removePrimaryWeaponItem "acc_pointer_IR"; _x addPrimaryWeaponItem "acc_flashlight"; _x enableGunLights "forceon"; }; }foreach allUnits; sleep 5; } }; So far it's working with Independant, but only on non-dedicated servers. With dedicated server, it runs up to the point of removing the NVGs, but not removing the IR laser and adding the flashlight. I'll give Kushluk's solution a try now -
Remove Nightvision Add Flashnight ZEUS script loop server
MrMichael posted a topic in ARMA 3 - MISSION EDITING & SCRIPTING
Hello, I'm trying to make a script that constantly removes nightvision and adds flashlight attachments to units spawned in a dedicated server ZEUS environment. Currently it looks like this in init.sqf: if (isserver) then { while {true} do { { if (side _x == independent) then { _x removeweapon "NVGoggles_INDEP"; _x removePrimaryWeaponItem "acc_pointer_IR"; _x addPrimaryWeaponItem "acc_flashlight"; _x enableGunLights "forceon"; }; }foreach allUnits; sleep 5; } }; While removing nightvision seems to work, the next parts, removing the acc_pointer_ir and adding acc_flashlight do not do anything. It all runs fine on a non-dedicated server, but I have no idea how to make it work on a dedicated server. Does anyone have any ideas on how I could make this work? -
A.C.R.E - Advanced Combat Radio Environment for Arma 3
MrMichael replied to noubernou's topic in ARMA 3 - ADDONS & MODS: DISCUSSION
Could you elaborate on how you got it working? I seem to be having trouble hosting it on a dedicated server also. The error on launch is: Include file x\cba\addons\main\script_macros_commons.hpp not found. -
Updated to v0.3 v0.3 Fixed AI not getting into the fight, added radios to pickup trucks for use with ACRE (Not required).
-
This is a simple non serious, small scale TvT mission with a twist. You're not fight with or against professional soldiers, but a bunch of thugs. Both sides start with only sidearms, smoke grenades and a pickup truck with supplies in it. There are various backpacks scattered around the map with extra supplies. Situation The two gangs, the P07s and the Rooks have had disputes in the past, but this time it's escalated to a fight over Frankston. Both sides claim this area as their turf and is willing to have a fight over it. There are civilians who live in the town, don't harm them, otherwise the cops will come intervene. We don't want that. Objectives Do what ever it takes to drive the opposing gang from the town. Download links Armaholic mirror: - Gang Warfare (6 vs 6) [ALPHA] v0.3 Ge.tt mirror: http://ge.tt/3s0epvb/v/0 Notes This is my first mission that I've decided to release publicly! Please leave any comments or suggestions for any bugs or how to improve upon the mission! Have fun! Versions v0.3 Fixed AI not getting into the fight, added radios to pickup trucks. v0.2 Fixed some things, added version number. v0.1 Initial release Credits Kegetys' Spectating script 1.06 for Arma 3
-
setOwner command question
MrMichael replied to MrMichael's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
I'm not quite sure how to work it. I'm trying: this setOwner 1 but this has a Type Bool Expect Nothing error. I'm assuming I'm doing it horribly wrong? -
Hi! I was wondering, how does one use/attach the setOwner command to units for use with the Headless client? I currently have a mission ready made and want to make all Opfor AI, many in different groups to be controlled by this client. Thanks!
-
Laser Show, the Mk20, Extensive recoil
MrMichael replied to Angry Priest's topic in ARMA 2 & OA - GENERAL
What is a Mk20? If you're talking about the Mk17 (SCAR H), then yes, I kind of find the recoil to be a bit excessive on it, so I tend to stick with 5.56 weapons -
Could Bohemia release high resolution variants of the screenshots that could be used for wallpapers please? :)