Search the Community
Showing results for tags 'detect'.
Found 8 results
-
Hi, I try to make a script which will use markers to detect player and spawn enemies (not sure this is possible?). The goal is to evade placing 70 triggers on the map. I tried with this if (player inArea [[(getMarkerPos "mrk1")]250,250,45,false]) then {hint "Tralala";}; But it gives me error "Array expected Boolean". But where is the error? Thanks for any help.
-
Hi guys, Ive been trying to get a few bar gates to open automatically when a vehicle enters a trigger area. I am trying to get the trigger to fire when ANY vehicle (land vehicle) is inside the area. I know I can do this by naming each vehicle but I would rather have a general solution that works for any vehicle that is occupied by a side AI and or Players alike. I have tried typeof and Iskindof but I think my syntax is wrong in each case. Thanks!
-
Is there any way how can i detect whether certain AI see certain enemy unit? I tried trigger in the editor but It can only distinguish which side detected certain side which is useless for me.
- 4 replies
-
- artificial intelligence
- detect
-
(and 2 more)
Tagged with:
-
[Questions] Detect when Curator is using camera and Disabling map icons
hoizen posted a topic in ARMA 3 - ZEUS EDITING
Hello folks. Two questions: 1. Is there a function call that returns a boolean when a curator is actively using the camera? something along the lines of: "inCamera curator" => returns true when actively using the birds-eye view camera and false when controlling their normal physical character. Pretty much some way to recognize a trigger for when the player enters and exits zeus. my current awful solution is detecting the "Using Inventory" animation for standing, crouching, and prone. This, however, doesn't work if the player is in an advanced stance or in a vehicle. 2. Is there a way to disable unit markers on the zeus map for zeus. I don't mean the difficulty setting for all player maps (that's already disabled) nor do I mean removing units from the curator editable objects (that's also already disabled). Despite the magic map being off and the units not in the curator's editable objects, they still show up on zeus player's map. Anyway to disable this? Thanks for the read.- 3 replies
-
- map icons
- unit markers
-
(and 5 more)
Tagged with:
-
Detect when not Free falling/Parachuting and Force close Arsenal
sgtelis posted a topic in ARMA 3 - MISSION EDITING & SCRIPTING
What I want: So I'm making a mission where you start of by entering Arsenal. While you are in arsenal a timer ticks down and when it gets to 0 you get teleported away into the air. Before this happens I want the players to be forced out of arsenal so that they don't start free falling with arsenal open or (due to the fact that they should not take any damage until they have landed) can fidle with the arsenal while the mission is playing. When teleported into the air I want the player to not be killable. Once the player lands (either faceplant into the ground or by landing with a parachute) the player should then be able to take damage. What I got: All players get forced into arsenal in the begining and there is a timer ticking down. If you exit the arsenal you get a black screen telling you that the game is still preparing and that you can re-enter the arsenal with a button click. Once the timer runs out the players get teleported and enters free fall where he/she has access to a parachute. What I've tried: For forcing out of arsenal? Nothing cuz I can't find anything else than adding arsenal on google. For detecting if landed: getPos of player in Z axis, and it worked, unless you land on a roof. detect stances such as prone, crouch or standing. Did not work and got called while free falling. some weird hasLanded thing that most likely is only for helis/planes So again, what do I need help with: A way to detect if a player has landed, aka stopped freefalling and is not parachuting. A way to force the player out of the Arsenal. -
I'm trying to figure out how to detect if a bridge (on a map) has been destroyed (getting the damage level of the bridge). In Arma 2, you could toggle on the objects ID#s in the editor. I don't see a way to do that in the Eden editor; am I missing it? I'd like to be able to do this on BIS Arma 3 maps, BIS Arma 2 maps (using CUP), and 3rd party maps, if possible. What are the options for detecting the damage level of a bridge or building object that is part of the map?
-
Hi all, Is there an easy way to detect if a greyhawk is below a set of ammo to do something? ie. if (fuel grey1 < 0.8 | ammo grey1 < 0.9) then { hint "Stop and turn your engine off for maintenance"} Fuel works fine. Not ammo though