-
Content Count
35 -
Joined
-
Last visited
-
Medals
Everything posted by obrien979
-
I am attempting to animate a deck crew man with the "Acts_JetsMarshallingStraight_loop" animation. I am using the BIS_fnc_ambientAnim function. I place the following in the unit init field [deckhand, "Acts_JetsMarshallingStraight_loop","ASIS"] call BIS_fnc_ambientAnim; No issues with getting him to do the animations at mission start. However I would like to have the unit conduct the animation only when a helicopter is inbound and the distance from deck crew to helo1 is <50 meters. I also would want the deck crew to terminate the animation once the helo has landed (isTouchingGround). Here is what I currently have placed in a trigger "On Activation" field: [deckhand, "Acts_JetsMarshallingStraight_loop","ASIS"] call BIS_fnc_ambientAnim; waituntil {{isTouchingGround helo1}; this call BIS_fnc_ambientAnim__terminate}; The same trigger's "Condition" field has this: deckhand distance helo1 < 50; Unfortunately I am receiving an error when the trigger is activated and the deckhand does nothing. I am quite sure that I have designed the script wrong, but I can not seem to find my error. Thank You
- 3 replies
-
- scripting
- marshalling
-
(and 2 more)
Tagged with:
-
Air Marshalling Animations
obrien979 replied to obrien979's topic in ARMA 3 - MISSION EDITING & SCRIPTING
It is still producing an error about the waituntil function. It is saying that the waituntil function is nill and it is expecting true or false. Screenshot of error message- 3 replies
-
- scripting
- marshalling
-
(and 2 more)
Tagged with:
-
I am having problems running a if..then..else statement. I have placed these statements in the init line of the veh1. The statement below is what I currently am using. if ((player distance veh1) < 2) then {hint "Get in vehicle"} else {hint "Goto vehicle"}; I am successful in getting the else portion to work. "Goto Vehicle" appears on screen at mission start. But as I decrease my distance to the veh1 to the point I am leaning on the vehicle, the "Get in vehicle" statement doesn't activate. I have also tried the following: _dist = player distance veh1; if (_dist < 2) then {hint "Get in Vehicle"} else {hint "Goto vehicle"}; But again no luck. I am sure it is a simple error on my part, but I am struggling. TIA
-
if...then...else trobuleshooting
obrien979 replied to obrien979's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Would you call this via an init line on player or via a trigger...or what do you suggest? -
if...then...else trobuleshooting
obrien979 replied to obrien979's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Thanks for the sight, now how could I do a loop? 😏 -
Face Targets towards firing platform
obrien979 posted a topic in ARMA 3 - MISSION EDITING & SCRIPTING
I am building ranges to use for sniper training and I am running into an issue. Well more like laziness, but I cant figure it out. I want to be able to place the targets down, manually adjust their heading (roughly facing the tower), but then at mission start I would like to run a script that adjusts their heading so that they all are facing the tower head on. This would result in better visibilty of the targets for the sniper. I noticed and played with the setDir command and was successfully with getting a single target to adjust heading (using the init. line on the target), but I have a different script that needs to be on the init. line for mission start. ANy help would be great, Thank You -
Face Targets towards firing platform
obrien979 replied to obrien979's topic in ARMA 3 - MISSION EDITING & SCRIPTING
this setVariable ["TAG_rotate",true]; What exactly does this do? -
Complete Ammo Listing
obrien979 replied to obrien979's topic in ARMA 3 - MISSION EDITING & SCRIPTING
@GEORGE FLOROS GR thanks for digging up that old post of mine. I thought I had done this before and was looking around on my computer to see if I had maybe saved it somewhere. Thanks again -
I am trying to work on a small project of gathering all of the Ammo classnames for each vehicle in my ARMA3 Library. Currently I am using the below code on the init field of my soldier, it works but it is time consuming switch back and forth between my text document and ARMA3. I was wondering if there is a quicker way to gather the information once I have placed all the vehicles I want to check in EDEN. Thank You this addAction["Check Ammo","_mags = magazinesAmmo cursorObject; copyToClipboard str _mags;"];
-
Complete Ammo Listing
obrien979 replied to obrien979's topic in ARMA 3 - MISSION EDITING & SCRIPTING
WOW! Well it worked, however now I have no idea which ammo goes with what. Browsing through the listing it appears it is mostly listing ammo for Soldiers, I dont see any Artillery, Tank or Mortar ammo in there. Also is it possible to add the display name of the vehicle/object to help better Identify which ammo goes with what thing? Thank You -
Complete Ammo Listing
obrien979 replied to obrien979's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Yes Sir I have looked at that, however I wish to gather the information for mods as well -
I am hoping the community can help me out. I recently found a script that places a map maker on units as they move around the map. In the script there was a section that displayed TypeOf the vehicle the marker was attached to. You also had the ability to customized (Color, Shape, etc) the marker that followed. I unfortunately deleted the file that I now I can not find it. Can anyone help me find that script or know of a way to do it. Thanks
-
Vehicle Rearm, Refuel and Repair Script
obrien979 replied to MrFata's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Just a heads up the processInitCommands command was disabled in ARMA 3 for security reasons. It says use remoteExec or BIS_fnc_MP instead. How exactly would you incorporate that into the script now? Thanks -
Yeah I would be willing to check that out. Thank You
-
Hazj unfortunately that is not what I was looking. This particular thing was a single single that I pasted into each of the units/vehicles I wanted to keep an eye on in GPS. It was not an add-on. Thank you though
-
Is there a way to pull all the magazine classnames for every vehicle and weapon from the CFG file? I know that BIStudio has a listing on their Wiki page, but I am looking to do the same for the addons that I have. Thanks In Advance Brandon
-
This is perfect!! It works great and will do just what I need. Thanks for your help
-
COuld it be modified to also pull the display name for the vehicle and display it with the magazine listing?
-
Thats great if I wanna look at each individual magazine type. I am looking for a way to pull the types of magazines that are Default loaded on vehicles from the start. Objective is to be able to quick reference a RHS or CUP vehicles loadout prior to placing on the map so That I can have an idea as to what firepower I have. Thanks
-
Yeah that works for individual vehicles perfectly. However I am looking for a way to pull the same data from the CFG File for all vehicle classes or types (tanks, trucks, etc).
-
Will this only read the CFG file for the vehicles on the screen or will it get info from all Vehicles in my asset browser?
-
Does anyone know where to find the muzzle name of weapons? The use of muzzlename is called for in many scripting commands, and I have been unsuccessful in locating this mysterious beast. Thank You
-
Placing Objects at Supplied Gird Locations
obrien979 posted a topic in ARMA 3 - MISSION EDITING & SCRIPTING
I am looking for a way to place an object at a grid location that was given to me. I was given grids (for example 114063) to place objects at on the Tanoa map, but I can not figure out how to find this grids in the Eden Editor. TIA -
Placing Objects at Supplied Gird Locations
obrien979 replied to obrien979's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Unfortunately on Tanoa map I am unable to see the bottom grid numbers. -
Placing Objects at Supplied Gird Locations
obrien979 replied to obrien979's topic in ARMA 3 - MISSION EDITING & SCRIPTING
This works alot better and its exactly what I needed. Thank all for your responses.