olegreyghost 14 Posted August 3, 2021 I am using the " c_offroad_01_F " pickup, where an AI unit enters the vehicle by waypoint & drives away. I tried animating the door with " _unit animateDoor ['door_R', 1]; " in a trigger with the AI unit present. The unit just enters the vehicle thru the door without it opening & drives away. It seems I am not using the command correctly. Are the doors on the pickup capable of opening/closing?? If so, what would be the correct command/procedure?? Any assistance is greatly appreciated.......... Share this post Link to post Share on other sites
sarogahtyp 1109 Posted August 3, 2021 ingame you can get all animations of an object you are pointing at with: copyToClipboard str (animationNames cursorObject); in case of your offroad you ll get this: ["damagehide","damagehidevez","damagehidehlaven","wheel_1_1_destruct","wheel_1_2_destruct","wheel_1_3_destruct", "wheel_1_4_destruct","wheel_2_1_destruct","wheel_2_2_destruct","wheel_2_3_destruct","wheel_2_4_destruct","wheel_1_1_destruct_unhide", "wheel_1_2_destruct_unhide","wheel_1_3_destruct_unhide","wheel_1_4_destruct_unhide","wheel_2_1_destruct_unhide","wheel_2_2_destruct_unhide", "wheel_2_3_destruct_unhide","wheel_2_4_destruct_unhide","wheel_1_3_damage","wheel_1_4_damage","wheel_2_3_damage","wheel_2_4_damage", "wheel_1_3_damper_damage_backanim","wheel_1_4_damper_damage_backanim","wheel_2_3_damper_damage_backanim","wheel_2_4_damper_damage_backanim", "glass1_destruct","glass2_destruct","glass3_destruct","glass4_destruct","glass5_destruct","glass6_destruct","wheel_1_1","wheel_2_1","wheel_1_2", "wheel_2_2","pedal_thrust","pedal_brake","wheel_1_1_damage","wheel_1_2_damage","wheel_2_1_damage","wheel_2_2_damage", "wheel_1_1_damper_damage_backanim","wheel_1_2_damper_damage_backanim","wheel_2_1_damper_damage_backanim","wheel_2_2_damper_damage_backanim", "wheel_1_1_damper","wheel_2_1_damper","wheel_1_2_damper","wheel_2_2_damper","hide_dashboard","hide_dashboard_door_l","hide_dashboard_door_r", "hide_daylights","hide_reverselights","hide_rearlights","gunnerlf","gunnerlf_pos","gunnerrf","gunnerrf_pos","damagehidegunner_rf", "damagehidegunner_lf","drivingwheel","steering_1_1","steering_2_1","indicatorspeed","damagehidemph","fuel","damagehidefuel","indicatorrpm", "damagehiderpm","prop_02","damagehidetemp","hidedoor1","damagehidedoor1","hidedoor2","damagehideglass2","hidedoor3","hidepolice","damagehidepolice", "hideservices","hidebackpacks","damagehidebackpack_proxy","hidebumper1","hidebumper2","hideconstruction","reverse_light","daylights","beacon1", "beaconsstart","beaconsservicesstart","beacon2","beacon3","beacon4","beacon5","beacon6","beacons1","beacons2","beacons3","beacons4"] there is no animation for opening/closing doors in it (at least I see none which could fit). But you could hide the doors... when pointing the offraod ingame then this hides the drivers door: cursorObject animate ["hidedoor1", 1]; 2 Share this post Link to post Share on other sites
olegreyghost 14 Posted August 3, 2021 I thank you for taking the time to explain this. It is not exactly what I was looking for. But I will add this to my notes for possible future use..... Share this post Link to post Share on other sites
sarogahtyp 1109 Posted August 3, 2021 1 minute ago, olegreyghost said: It is not exactly what I was looking for. You simply can't play an animation which is not ingame. Share this post Link to post Share on other sites
olegreyghost 14 Posted August 3, 2021 Sorry. That is not what I meant. I realized from your explanation that the animation was not available. What I meant was It just seemed removing the door was worse than entering thru the door. Share this post Link to post Share on other sites
sarogahtyp 1109 Posted August 3, 2021 You also have the choice to teleport the AI with moveInDriver command instead of let it glitch through door. Share this post Link to post Share on other sites
pierremgi 4906 Posted August 3, 2021 Arma vanilla's dark side. As some other features.... in jungle of inheritances, you can open doors of : - all Ifrits - Hunter unarmed (not GMG or HMG) - Zamac (all sides) - Vans and that's all (neither Tempest nor Strider, Prowler, other civilian cars) Share this post Link to post Share on other sites
olegreyghost 14 Posted August 3, 2021 Thanks for the additional info Saro, but it wouldn't fit with the storyline. @pierremgi, thanks for the reply. I'll check out the vans listed & add the rest to my notes. Share this post Link to post Share on other sites
olegreyghost 14 Posted August 4, 2021 I checked the vans " C_Van_02_vehicle_F " and found it does reference a door. Considering I prefer a pickup & I am using Leights Opfor mod, I also found an offroad vehicle " C_Offroad_01_covered_F " with the same door parameter. I obtained the info with CfgVehicles in the Eden editor. This is the parameter listed on the main page: driverDoor = ""; Under Animation Sources - Doors - animPeriod = 0.001 - initPhase = 0 - source = "user".. I tried to keep it simple & just use the animateDoor command in a trigger" Offroad animateDoor ['door_L, 1]; with the vehicle named Offroad. Nothing happens. I also tried door_1 & door_LF in the array as alternatives listed on the command page. No animation. I then tried using driverDoor in the array. I even tried the preferred 2nd example Offroad animateDoor ['driverDoor_source, 1]; Nothing worked. Tried it with the vans also. Putting the command in the vehicle init didn't work either. What am I missing ??? Share this post Link to post Share on other sites
pierremgi 4906 Posted August 4, 2021 What you can do, is previewing a short edition with a player and a van. You target the van, so in debug console (watch lines): cursorObject returns: "C_Van_02_vehicle_F" and animationNames cursorObject returns: Spoiler ["damagehide","damagehidevez","damagehidehlaven","wheel_1_1_destruct","wheel_1_2_destruct","wheel_1_3_destruct","wheel_1_4_destruct","wheel_2_1_destruct","wheel_2_2_destruct","wheel_2_3_destruct","wheel_2_4_destruct","wheel_1_1_destruct_unhide","wheel_1_2_destruct_unhide","wheel_1_3_destruct_unhide","wheel_1_4_destruct_unhide","wheel_2_1_destruct_unhide","wheel_2_2_destruct_unhide","wheel_2_3_destruct_unhide","wheel_2_4_destruct_unhide","wheel_1_3_damage","wheel_1_4_damage","wheel_2_3_damage","wheel_2_4_damage","wheel_1_3_damper_damage_backanim","wheel_1_4_damper_damage_backanim","wheel_2_3_damper_damage_backanim","wheel_2_4_damper_damage_backanim","wheel_1_1","wheel_2_1","wheel_1_2","wheel_2_2","glass1_destruct","glass2_destruct","glass3_destruct","glass4_destruct","glass5_destruct","glass6_destruct","glass7_destruct","glass8_destruct","glass1_destruct_unhide","glass4_destruct_unhide","glass5_destruct_unhide","glass6_destruct_unhide","glass7_destruct_unhide","glass8_destruct_unhide","wheel_1_1_damage","wheel_1_2_damage","wheel_2_1_damage","wheel_2_2_damage","wheel_1_1_damper_damage_backanim","wheel_1_2_damper_damage_backanim","wheel_2_1_damper_damage_backanim","wheel_2_2_damper_damage_backanim","drivingwheel","steering_1_1","steering_2_1","indicatorspeed","indicatorrpm","fuel","watchhour","watchminute","compass","daylights","pedal_thrust","dashboard_off","dashboard","hide_dashboard","hide_dashboard2","hide_dashboard3","hide_light_back_l","hide_light_back_r","hide_light_back_top","hide_reverselight","reverse_light","reverse_camera","reverse_camera_hide_ac","gear_r","gear_d","door_1_source","door_2_source","door_3_source","door_3b_source","door_4_source","door_4a_source","door_5_source","door_5a_source","hide_door_1_source","hide_door_2_source","hide_door_3_source","hide_door_4_source","hide_door_5_source","lights_em_1","lights_em_2","lights_em_1_flash","lights_em_2_flash","lights_em_1_door5","lights_em_2_door4","lights_em_1_door5_flash","lights_em_2_door4_flash","lights_em_hide","lights_em_1_door5_main_hide","lights_em_2_door4_main_hide","spare_tyre_holder_hide","spare_tyre_hide","ladder_hide","reflective_tape_hide","reflective_tape_door1_hide","reflective_tape_door2_hide","reflective_tape_door3_hide","roof_rack_hide","led_lights_hide","led_lights_door4_hide","led_lights_door5_hide","lights_em_1_side_hide","lights_em_2_side_hide","lights_em_1_door5_hide","lights_em_2_door4_hide","sidesteps_hide","rearsteps_hide","front_protective_frame_hide","side_protective_frame_hide","beacon_front_hide","lights_em_1_roof_front_hide","lights_em_2_roof_front_hide","beacon_rear_hide","lights_em_1_roof_rear_hide","lights_em_2_roof_rear_hide","enable_cargo","wheel_1_1_damper","wheel_2_1_damper","wheel_1_2_damper","wheel_2_2_damper"] You can find that also in cfgVehicles So, of course, you need to seek for door and possibly sources not hiding them. Then test: {cursorObject animateDoor [_x,1,false]} count ["door_1_source","door_2_source","door_3_source","door_3b_source","door_4_source","door_4a_source","door_5_source","door_5a_source"] from execute of debug console. Replace cursorObject by the van (this in init field of the van or in a script referring to this van). For the offroad "C_Offroad_01_covered_F", it's a little bit shorter. Same method leads to: {cursorObject animateDoor [_x,1,false]} count ["opendoor3","opendoor3_tailgate"] Share this post Link to post Share on other sites
olegreyghost 14 Posted August 4, 2021 Success. I was able to get the info I needed. The van worked like a charm, but sadly it is too big & seems out of place in the storyline. As far as pickups go, they do not work. FYI. The offroad covered vehicle animations are not correct. door3 animation opens the tailgate & the tailgate animation does not work at all, plus there doesn't appear to be any animations for the front doors. I will be using the UAZ vehicle from the Opfor mod as a working replacement. Thank you both for adding to my skill set. Now I just have to figure out how to close the door....... Share this post Link to post Share on other sites
pierremgi 4906 Posted August 4, 2021 20 minutes ago, olegreyghost said: Success. I was able to get the info I needed. The van worked like a charm, but sadly it is too big & seems out of place in the storyline. As far as pickups go, they do not work. FYI. The offroad covered vehicle animations are not correct. door3 animation opens the tailgate & the tailgate animation does not work at all, plus there doesn't appear to be any animations for the front doors. I will be using the UAZ vehicle from the Opfor mod as a working replacement. Thank you both for adding to my skill set. Now I just have to figure out how to close the door....... animateDoor 2nd array parameters: 1 to open 0 to close. Share this post Link to post Share on other sites
olegreyghost 14 Posted August 4, 2021 I apologize. That was me trying to make light of the problem with the doors. I am aware of the parameters. As a matter of fact, when the player got into the UAZ, the door closed automatically. Sounds too good to be true. Well it is. No floorboards. His arse is on the pavement. Looks like it might just be the van. The only other vehicle I found so far was the ural...... Thanks again. If I find a smaller vehicle, I will update the post....... Share this post Link to post Share on other sites
olegreyghost 14 Posted August 4, 2021 All good. Settled on the van. Now just need to get the timing right..... Share this post Link to post Share on other sites
olegreyghost 14 Posted August 4, 2021 All fixed.... 1 Share this post Link to post Share on other sites