Search the Community
Showing results for tags 'knowsabout'.
Found 5 results
-
Rozek Poland showed me a way to display the knowsAbout value an AI has of the player, but it only works in OFPR / ARMA CWA. ARMA 3 says the On Activation field line contains an invalid number in the expression. Can someone alter the grammar so that it works in A3? Units: west init : t1=true east name : e1 trigger: Condition : t1 On Activation : player globalChat format [{knowsAbout: %1},e1 knowsAbout vehicle player]; t1=false On Deactivation : t1=true
-
Hello all!! Im trying to create some script that every 2 minutes (maybe handled with a trigger) will share all knowsabouts of between side groups. What i want to achieve is a side total awareness on the mission, if group A is engaging with an enemy BMP, group B, far away, will se that BMP on the map. I tried with triggers, and using this script someone shared: "AnyGroup" knowsAbout _target; { if(side _x == East) then { _x reveal _target; } }forEach AllUnits; I use it on a trigger and it gaves error. Any ideas? It's for a multiplayer mission using zeus. Shouldn't be hard, but im kinda a rookie on arma editing. Thanks!!
-
hi all. After 4 hours researching im left no option but to ask! I want to reveal all units in a given area / distance to a SINGLE UNIT .(In this case a sniper) Ive found lots of examples of revealing enemy to allies etc but not enemies to a single unit and then target them? So far i can only get this to work for targeting a unit with a unit: sniper1 doTarget muppet; (This works well, as the sniper even fires at well over 600ms probably would go much further...) But i want the sniper to know all enemy targets in a 1500m every x amount of seconds. basically below is the jist of what i want: (sniper1) snipers init field: revealedunits = nearestObjects [sniper1, ["man"], 1500]; sniper1 doTarget revealedunits; sleep 60; obviously code does not work! but I need something along the lines of: >List all enemy in radius from sniper. >Reveal those enemies to the sniper >sniper target those enemies >reset script after x amount of time i would rather use a simple in-editor script if possible as I am not using .sqf at this time (or have ever used it?) but im open to change if needs must. Just point out where i would need to place the sqf's if you would. thx. good night.
- 8 replies
-
- reveal
- knowsabout
-
(and 1 more)
Tagged with:
-
displaying knowsabout as a value
stormoffires posted a topic in ARMA 3 - MISSION EDITING & SCRIPTING
Can someone help me with a simple debug script, i am trying to actively display the value of "knowsabout" for the player, via the radio/call command. thanks! i thought somthing like this would work wantedlvl = blufor knowsAbout player; hint wantedlvl but it doesnt return anything and im not getting errors.- 4 replies
-
- knowsabout
- hint
-
(and 1 more)
Tagged with:
-
Increasing the knowsAbout value to the max?
Frenzi_ posted a topic in OFP : MISSION EDITING & SCRIPTING
(Another perhaps impossible request.) Can anyone think of some kind of a "trick" to unnoticeably increase a unit's knowsAbout value of another unit to the maximum? In other words, I'd like to imitate: Unit_A reveal [unit_B, 4] Thanks in advance for any input.