Jump to content
DOA

How to place an empty transport van with it's beacons on?

Recommended Posts

I have found the comand that works on the Gendarmerie offroad truck. 
this animate ["BeaconsStart", 1];

 

This doesn't work on the Gendarmerie Van Transport.

TIA...DOA

 

Share this post


Link to post
Share on other sites

Use animationNames to get the correct names.

https://community.bistudio.com/wiki/animationNames

"B_GEN_Van_02_transport_F"

["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","reverse_light","reverse_camera","reverse_camera_hide_ac","gear_r","gear_d","wheel_1_1_damper","wheel_2_1_damper","wheel_1_2_damper","wheel_2_2_damper","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"]

Also, use animateSource instead.

https://community.bistudio.com/wiki/animateSource

van animateSource ["lights_em_hide", 1]; // where van is the object variable name

 

  • Like 1
  • Thanks 1

Share this post


Link to post
Share on other sites

HazJ Thank you very much for the information. It worked. The lights are on. It was not exactly a show stopper. but makes that part of the mission look so much better than the transport van carrying the precious cargo being the only vehicle in the convoy with its beacons off.  Thanks for the references too. Excellent information.

 

  • Like 1

Share this post


Link to post
Share on other sites

Haz, mate, further to our chat just now, what you said works for van, but I'm struggling to get it to work for offroads. Any ideas?

 

I've plugged in all the animationnames I could find in the config for the gendarme offroad, but nothing works.

  • Like 1

Share this post


Link to post
Share on other sites
(vehicle player) animateSource ["beacons", 1]; (vehicle player) animateSource ["startbeaconlight", 1]; (vehicle player) switchLight "on";

Offroad Comms GEN ^

(vehicle player) animateSource ["beacons", 1];

Offroad GEN ^

Video showing how to find out the animateSource:

If you wanted to override the standard action behaviour to not turn on the headlights (pointless as you can't see the orange beacon on the Offroad Comms if the headlights are not on):

inGameUISetEventHandler ["Action", "
	if (_this select 4 == 'Beacons On') then {
		_this select 0 animateSource ['beacons', 1];
		_this select 0 animateSource ['startbeaconlight', 1];
		true
	};
"];

 

  • Like 1
  • Thanks 1

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×