![](https://forums.bohemia.net/uploads/set_resources_8/84c1e40ea0e759e3f1505eb1788ddf3c_pattern.png)
![](https://secure.gravatar.com/avatar/4d268a144c21e87a00aab1f952d03f8d?d=https://forums.bohemia.net/uploads/set_resources_8/84c1e40ea0e759e3f1505eb1788ddf3c_default_photo.png)
Eggitheegg
-
Content Count
21 -
Joined
-
Last visited
-
Medals
Posts posted by Eggitheegg
-
-
47 minutes ago, sarogahtyp said:https://community.bistudio.com/wiki/nearestObjects
private _classnames = ["your_object_type_1_classname", "your_object_type_2_classname", "your_object_type_3_classname", "your_object_type_4_classname" ]; private _position_trigger = position your_trigger_name; private _radius = your_search_radius; if ( nearestObjects [_position_trigger, _classnames, _radius, true] isEqualTo []) then { hint "Everything is clean now."; };
Thanks for the fast response will you be able to explain the first 3 lines though?
-
I'm making a garbage man type of mission, basically you need to clean camp maxwell, the only thing I need now is to make the trigger check if everything inside it has been cleaned (basically deleted) I used the addAction command in combination with the deleteVehicle command to "clean" the objects. (also every object inside the trigger has the name rock followed by a number if it somehow helps you help me) I need the trigger to check if every object was deleted and if every object was in fact deleted then complete the mission.
-
17 hours ago, Harzach said:You are going to need to be specific. What is the problem you are trying to solve?
not really a problem, just because of the muzzle you can barely see the fish that are attached to the bullets.
-
20 hours ago, sarogahtyp said:I dont understand what u want. Muzzles are a part of the weapon and a weapon itself can be modified by an addon only.
But maybe i misunderstand.
What do you want to achive?
I just want to it to look nice when I shoot the fish but if its not possible then thanks anyway
-
also another thing can I somehow remove Muzzle from weapons?
-
-
12 minutes ago, Harzach said:Fired or FiredMan event handler and attachTo.
Example:
player addEventHandler["FiredMan", { params["_unit","_weapon","_muzzle","_mode","_ammo","_magazine","_projectile","_vehicle"]; _sphere = "Sign_Sphere100cm_F" createVehicle (getPosATL _projectile); _sphere attachTo [_projectile,[0,0,0]]; }];
Nevermind I got it
-
Hello, I've stumbled on an old video from ArmA 3 where somebody is firing fish from their gun. I want to make something like this too. I'll link the video here:
Thanks!
-
33 minutes ago, pierremgi said:- add a trigger close to the table (I don't know your scenario so I'll script for something working, not on what you could need exactly)
- set a small area like 10m radius
- trigger is anyPlayer present as preset condition, not repeatable
- on condition: thisList findIf {"SatchelCharge_Remote_Mag" in magazines _x} > -1
- on activation: hint "you've got a satchel charge"
There are other solutions, without trigger, just event handler:player addEventHandler ["take", { if (_this #2 isEqualTo "SatchelCharge_Remote_Mag") then { hint "you've got a satchel charge"; player removeEventHandler ["take",_thisEventHandler]; }; }];
Thank you! the trigger worked perfectly! you're a real life saver!
-
24 minutes ago, pierremgi said:Your table is on uneven terrain. Try to make it level and play with the height as I wrote.
You can't really add a name on explosive satchel because it's a magazine (stringed) inside a weaponholder (object). What you can do is checking if a player has this kind of magazine in the inventory.
Oh I can do that? How?
-
42 minutes ago, pierremgi said:Did you report the name of the table (as shown in example) inside of the script?
SetVehicleVarName??? what for?
Test also different values for vectorAdd. [0,0,1] means one meter above the position.
Yep the name of the table is the same it works, it does spawn on the table but it just doesn't stay on the table. and I want to use SetVehicleVarName to give the explosive a name (so I can make a task to pick it up). I'll try changing the values. Also excuse me if I seem a little bit noobish, its the first time I'm doing something like this. and again thanks for your help and patience!
-
1 hour ago, pierremgi said:The simplest:
name the camping table: yourTable
if (isServer) then { yourTable spawn { private _wh = createVehicle ["weaponHolderSimulated_scripted",getpos _this vectorAdd [0,0,1],[],0,"can_collide"]; _wh addMagazineCargoGlobal ["SatchelCharge_Remote_Mag",1] }; };
When it spawns it just falls from the table in weird unnatural way, any idea why? and also can I use the setVehicleVarName command with this?
-
13 hours ago, pierremgi said:Place a game logic (F5 logic entities objects in editor)
In init field of this logic:
if (isServer) then { this spawn { private _wh = createVehicle ["weaponHolderSimulated_scripted",getpos _this,[],0,"can_collide"]; _wh addMagazineCargoGlobal ["SatchelCharge_Remote_Mag",1] }; };
Note: If your player is "explosiveSpecialist" as trait, (player setUnitTrait "explosiveSpecialist") and has a ToolKit, he can dearm, then pick the satchel up.
Thank you! you're a real life saver! but can I ask one more thing? how do I make it spawn on an object? a Small Camping Table for example?
-
Hello I've started working on a small mission yesterday, but I've encountered one small thing that I couldn't resolve by myself or find anywhere how to do so. In my mission you get a task to pick up an Explosive Satchel. the problem is it spawns as enabled which means I can't pick it up, and it acts as if it was planted. Thank you for whoever sees this and decides to help.
-
11 hours ago, Gunter Severloh said:Did you happen to remove this folder -----> C:\Steam\SteamApps\downloading
the downloading folder and all its contents?
Also take a look at this page
https://appuals.com/how-to-fix-the-steam-corrupt-disk-error-on-windows/
Thank you !!!
I fixed it using the third solution.
-
1
-
-
6 hours ago, Gunter Severloh said:Ok, how many games do you have installed on either drive?
Also again are they HDD or SSD's?
my main drive is an SSD and my second drive is a HDD, I have 43 installed games on the second drive and probably 3 games on the main drive
-
3 minutes ago, Gunter Severloh said:What drive were you using when you got the corrupt disk error?
I have two drives the main one is C :and the second one is X: (by default D:)
-
4 hours ago, Eggitheegg said:Nothing works, I Tried Everything Except The First One, I Can't do it steam gives me an Error whenever I try to move the install folder,
I forgot to mention that I have only two drives my steam is on the main one but the games are on the second one,
so steam couldn't create new directory's.
-
8 hours ago, Gunter Severloh said:Hello welcome to BI Forums!
Follow this video, how to fix a corrupt disk, with this you'll need to relocate the install to a new drive, and then scan the drive that
is being read as corrupt, the video demonstrates a step by step process on what to do, hope it helps:
Once you have it sorted out, let us know if your issue was fixed and if the video helpedas its important for anyone else who may have the same issue find a fix as well. Cheers!
Nothing works, I Tried Everything Except The First One, I Can't do it steam gives me an Error whenever I try to move the install folder,
-
This Problem Started about 2 Months ago, Basically what happens is when I install mods the game starts updating (like normal) but it stops and says ''CORRUPT DISK''
I've tried to uninstall the game and install it again a couple of times, changing the download region. nothing helped, couldn't change the directory of the game for some reason tho.
bIdentify - a community-driven open file-index utility for usergenerated content for BI Games.
in ARMA 3 - GENERAL
Posted
Can you upload them to mediafire/Google drive? I'm just looking for mods for ArmA 1 and I would be grateful to get at least some mods.