Search the Community
Showing results for tags 'engineon'.
Found 3 results
-
I have recorded a unitplay on a car, the car is driven by an IA and the AI (variable name = pilot) will drive the players around. I do know that engineOn only works "where the unit is local" (I'm still a little bit confused about what this means exactly). The engineOn command does work but the engine stops itself after a while, i have tried this: if (local vehicle pilot) then {dummycar engineon true;}; to no avail. How would you go about it? On a side note: how would you go about to have the car's wheels rolling when playing the unitplay (they are still at the moment). I have tested the above mentioned both on my team's server and on my computer.
-
UnitCapture, vehicle engineOn and scripted AI kills.
Kaldor_Draigo posted a topic in ARMA 3 - QUESTIONS & ANSWERS
Hey guys, I’m developing a mission where I’m utilizing some scripts and mods and I can’t get everything to work correctly. -I’ve scripted the SUV for UnitCapture and everything works fine, except the engine turns off 30 seconds into the mission, is there a way to keep cycling EnginOn? I can’t use other methods for the SUV due to the scenario and dependent scripts. -After a short firefight, my independents are supposed to “break contact” and get into the vehicle to leave. I’m trying to avoid radio activation, but if that is the only method of utilizing a trigger to get AI to mount a vehicle under fire I can do that. I’ve used HLF_fnc_InfUnitcapture on all AI, and they go through the animation of getting in the vehicle but when the vehicle leaves they are lagging behind, glitched and bouncing back and forth on top of the SUV. -The last issue I’m facing is that with HLF_InfUnitCapture, weapon elevation is not recorded/played back, so my super elite team of ninjas shoot at the wall when there is an AI enemy standing on the roof of the building. Is there any way to make it so when the AI receives incoming fire they die, or a function where a delayed trigger instant kills them? (Think “if BLUFOR presence = true then instakill baddies” type solution if we can steer that way.) my overall mission is a PMC security detail being ambushed at a building right when they drive up, and they have to return fire and then get back into their SUV to leave. Simple mission, complex scripts lol. Any help or suggestions are appreciated!- 1 reply
-
- engineon
- unitcapture
-
(and 2 more)
Tagged with:
-
[SOLVED] cant turn engine on after spawning an empty vehicle [Maybe a BUG]
sarogahtyp posted a topic in ARMA 3 - MISSION EDITING & SCRIPTING
Hey guys, i m spawning a hunter with this code: { // for each vehicle _vec = createVehicle [(_x select 0), [0, 0, 0], [], 0, "NONE"]; _vec setPosASL ((_x select 1) vectorAdd [0,0,1]); } forEach _all_vec_info; the problem is that neither me as player nor any AI can turn the engine on and drive it. I dont understand it. If I test it then I see the hunter spawning, geting in it and try to move forward with "W" but nothing happens. I can change the front wheel direction but the engine is not turning on. I tried to choose "Engine On" from action menu. The engine sign in the hud is switching to white shortly and instantly switchs to grey. Idk what is causing that strange behavior. any help woul be appreciated. EDIT: I tested it with a Quad with the same result. I tested if there is fuel in it and the fuel value is nearly 1 I tested to add the vec to my group with debug console with following command: (group player) addVehicle (vehicle player); same strange result.... Testing environment is preview in 2D editor stable branch (not dev). After Fiddis post I testet do disable and enable Simulation via debug console ... doesnt help. tryteyker requested structure of _all_vec_info. it looks like this if 3 vehicles r stored in it: [[type, pos, vectorDir , ... ], [type, pos, vectorDir , ... ], [type, pos, vectorDir , ...]]- 25 replies
-
- createVehicle
- setPosASL
-
(and 2 more)
Tagged with: