Freddywall
Member-
Content Count
36 -
Joined
-
Last visited
-
Medals
Community Reputation
11 GoodAbout Freddywall
-
Rank
Private First Class
Recent Profile Visitors
The recent visitors block is disabled and is not being shown to other users.
-
moveincargo problem
Freddywall replied to Freddywall's topic in ARMA 3 - MISSION EDITING & SCRIPTING
it works, ty -
I'm trying to make a script to move a specific player to the vehicle but it only works on AI FREDDY_FNC_GETINVEH = { private ["_unit"]; _unit = cursorTarget; _nearestVehicle = nearestObjects[getPosATL player,["Car","Ship","Submarine","Air"],10] select 0; if (isNil "_nearestVehicle") exitWith {}; _unit moveInCargo _nearestVehicle; }; Calling the function via the GUI: action = "remoteExecCall ['FREDDY_FNC_GETINVEH', 0, true];";
-
Action on double click for inventory item
Freddywall posted a topic in ARMA 3 - MISSION EDITING & SCRIPTING
Hello guys, i'm looking for a script which will run when i double click on certain item in my inventory. I was looking for something similar on forum but I didn't found anything working -
Hello guys, i am trying to make super simple money script for my MP mission. I want the reward depending on the side. If u kill ur teammate or suicide it displays some text but if u kill enemy it will give u some reward. So i tried to use: if (side _killed == side _killer) then {hint "teamkill";} else {cash = (cash + 100); hint str cash;}; but seems it doesn't work //InitPlayerLocal.sqf cash = 0; { _x addEventHandler ["killed", { _unit = (_this select 0); _killer = (_this select 1); pKilled = [_unit, _killer]; publicVariableServer "pKilled"; }]; } forEach allUnits; "pClient" addPublicVariableEventHandler { if (side _killed == side _killer) then {hint "teamkill";} else {cash = (cash + 100); hint str cash;}; }; //InitServer.sqf "pKilled" addPublicVariableEventHandler { private ["_data"]; _data = (_this select 1); _unit = (_data select 0); _killer = (_data select 1); _cID = owner _killer; _cID publicVariableClient "pClient"; };
-
Hello guys i'am new at scripting. I'am trying to write script which will display some text if player kill his teammate. I tried use EH killed for this, but it's doesn't work. //InitPlayerLocal.sqf player addEventHandler ["Killed", { params ["_unit", "_killer", "_instigator", "_useEffects"]; if (side _killer == side _unit) then {hint "teamkill";} else {hint "not teamkill";}; }];
-
Hello, need a script to delete all vehicles from map every 2 minutes
-
Script to delete abandoned vehicles every 2 minutes?
-
increase damage to player?
Freddywall replied to Freddywall's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Working. Thank u -
increase damage to player?
Freddywall replied to Freddywall's topic in ARMA 3 - MISSION EDITING & SCRIPTING
seems it doesn't work. Where should i put it? -
Hello, i'd like to increase damage by bullets to player how i can do that?
-
Hello, i got script which shows player markers on map, but it show only players in group. How to make it show all players on your side? waitUntil {!isNull (finddisplay 12)}; ((findDisplay 12) displayCtrl 51) ctrlAddEventHandler [ "Draw", { params ["_ctrl"]; { _ctrl drawIcon [ getText (configFile >> "CfgVehicles" >> typeOf _x >> "icon"), [side _x] call BIS_fnc_sideColor, _x, 32, 32, getDir _x, name _x, true ] } forEach (units (group player)); } ];
-
Damage player outside trigger
Freddywall replied to Freddywall's topic in ARMA 3 - MISSION EDITING & SCRIPTING
It works well, thank you -
Damage player outside trigger
Freddywall replied to Freddywall's topic in ARMA 3 - MISSION EDITING & SCRIPTING
seems it's doesn't work. Error in "_outSideUnits = (allUnits select {!(_x inAreaArray triggerName)});" -
Damage player outside trigger
Freddywall replied to Freddywall's topic in ARMA 3 - MISSION EDITING & SCRIPTING
How can i make it with ellips? -
Damage player outside trigger
Freddywall replied to Freddywall's topic in ARMA 3 - MISSION EDITING & SCRIPTING
I continue get damage when i am inside the trigger