Lq.Snake
-
Content Count
6 -
Joined
-
Last visited
-
Medals
Posts posted by Lq.Snake
-
-
Apparently, the battlefield clearance module adds an action (Stop dragging) every time you are in the dragging animation state: AmovPercMstpSlowWrflDnon_AcinPknlMwlkSlowWrflDb_1
Is there a way of removing that action with a simple line of code so that the Stop dragging action doesn't appear? Thanks in advance!
-
I was wondering if there's a way to create your own type of magazine or even just modifying the name of a magazine already in arma2.
For example, when going through your gear, you see different types of magazines that you have and they all have a unique name like 100Rnd M240 or 30Rnd Stagnag. Is there a way to change the name of the magazine? Or even better, change the name and the picture icon it shows? Thanks in advance!
-
that's a good question... why am I over complicating things? HAHA
Thanks, Benny. That's so much more simpler. I can put that command in just one trigger and it works perfectly. But now, I'm having trouble removing the action if the player1 is a distance greater than 2. This is what I've tried:
First, I set a trigger to add the action as stated above:
Condition: (player1 distance officer1) < 2;
On Act. : capture = player1 addAction ["Capture Officer","capture.sqf"];
Then, I set a trigger to remove the action if greater than 2 meters:
Condition: (player1 distance officer1) > 2;
On Act. : player1 removeAction capture;
Nothing happens... it adds the action but does not remove!
Edit: Nevermind... I set the activation to ONCE instead of REPEATEDLY. Now, works perfectly! Thanks, again for the quick response! I hope this thread will help someone in the future.
-
Is there a way to set an AI to be capturable by simply using a command?
What I've done so far is create a .sqf file that looks like this:
capture.sqf
//Simple capture script
[officer1] join group1;
player1 removeAction 0;
f2 removeAction 0;
f3 removeAction 0;
f4 removeAction 0;
f5 removeAction 0;
Of course, there is a trigger in the mission with a blufor present condition where the ON ACT field reads: player1 addAction ["Capture officer", "capture.sqf"];
But what I want is, only trigger the addAction command when near the officer(AI). I've tried using the nearestobjects command in another .sqf file:
if (count (nearestObjects [officer1, ["USMC_Soldier"], 1]) > 0) then
{
capture = player1 addAction ["Capture officer","capture.sqf"];
};
But for some reasons, it does not work. I also tried changing "USMC_Soldier" to "man" and it triggered the addAction command but it did it wherever I was in the map not just when I'm near the officer. Can someone help me out?
-
Hi,
I've been reading and getting very useful information from this forum for a long time now and so I decided to register finally. I'm not brand new to editing but I would say fairly new since I've only designed two missions in ArmA I. But anyway, just wanted to do a proper introduction before I started posting =)
I am currently making two other missions for ArmA II and have tested the SOM module in MP. I've noticed a little bug where a player was unable to JIP in one of the slots of a squad that was in sync with the SOM. Instead they were spawning in a helicopter that was floating somewhere northeast of the Chernarus map. The slots were already filled by AIs but usually when a player connects they are able to take the AI slot. Also, the mission had respawn enabled so the automatic reinforce could never be triggered.
Another thing, when a player other than myself (the host) took the team leader slot for the squad that was in sync with the SOM, he was not able to see any of the supports or even able to accept or reject one of the side missions. I don't know if it had to do with me hosting my own server. I will probably have to try to test it on a test server and see what happens. Anyone have any idea what the problem is?
First Aid Module Stop Dragging Action
in ARMA 2 & OA : MISSIONS - Editing & Scripting
Posted
I am using that specific animation for dragging an object. When the player clicks on the stop dragging action then the object will still be attach to him even though he is not in that animation state anymore. I found a way of just making the object detach from the player when he clicks that action but the thing is, sometimes, the stop dragging action does not appear. So, I want to completely remove that action when in the dragging animation state and manually add another action to make the player stop dragging and detach the object from him/her.