Search the Community
Showing results for tags 'azimuth'.
Found 3 results
-
How to add azimuth to the gunner optics of a custom (mod) vehicle?
DanilKan posted a topic in ARMA 3 - ADDONS - CONFIGS & SCRIPTING
I got a BTR from a custom mod. It has the same 'gunnerOpticsModel' as the vanilla 'Marid' but it doesnt show the bearing. What do I have to change to make the bearing visible for my custom vehicle? Here is how it looks from the custom vehicle: https://imgur.com/a/606cnY2 config.cpp: And here is how I need it to look like: https://imgur.com/a/026bpR3 config.cpp: -
Hey guys, a bit of a puzzle here. I'm trying to create a trigger that opens a one way gate. Tigger has following conditions: Player present inside trigger. No OpFor within trigger. Gate is alive. Gatekeeper is alive. Players vehicle is facing correct direction. I managed to get everything except the direction so far with this: Activated by player present - this and (alive gatekeeper) and (alive gate02) and (east countside thislist) == 0 However i'm having hard time implementing getdir in to the condition. I managed to get getdir working like this: if (direction (vehicle player) >200) then {hint "Going out"} if (direction (vehicle player) <200) then {hint "Going in"} But how would i make this into a trigger condition? Somehow with _x thislist i would assume..? It's for multiplayer so i can't use command "player" in the trigger. How do you refer to the unit that is inside the tigger instead of "player"?
-
Spawn empty vehicle and set its direction
WurschtBanane posted a topic in ARMA 3 - MISSION EDITING & SCRIPTING
Hi. I am spawning a jet via trigger by using this: _vehicleObject = "B_Plane_CAS_01_F" createVehicle (getMarkerPos "marker_spawn_A10");, but its always pointing towards 180. I want it to look towards 270 or so... you get it. Can anyone help me please? I know this is pretty basic and there is a thread covering this somewhere probably... couldnt find it though.