Warning: include(/var/www/html/forum/Sources/../../../includes/depot_files/OFPEC_get_header_image.inc.php): failed to open stream: No such file or directory in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 146

Warning: include(): Failed opening '/var/www/html/forum/Sources/../../../includes/depot_files/OFPEC_get_header_image.inc.php' for inclusion (include_path='.:/usr/local/lib/php') in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 146

Notice: Undefined index: OFPEC in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152

Notice: Trying to access array offset on value of type null in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152

Notice: Trying to access array offset on value of type null in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152
    Home   Help Login Register  

Author Topic: detecting soldiers at a city  (Read 2609 times)

0 Members and 2 Guests are viewing this topic.

Offline OFP_f3d3

  • Former Staff
  • ****
  • Fraud is the ready minister of injustice.
detecting soldiers at a city
« on: 02 Feb 2011, 19:04:01 »
ok,here´s the deal.
I´m making a new coop mission for arma but i have a big problem. A sniper will tell the spec-ops the position of the soldiers he detects when i activate a button that says "enemy detected", then he´ll say "Alpha, i detected a unit at ----Position-----" there position will be replaced by the position of the soldiers that the sniper saw when he activated the button "enemy detected"

DOES ANYONE KNOW HOW TO DO THIS???????? I´m new at ARMA but i know alot of ofp
Nothing in the world is as certain as death.

Offline savedbygrace

  • Intel Depot
  • Administrator
  • *****
  • Be swift to hear...slow to speak...slow to wrath.
Re: detecting soldiers at a city
« Reply #1 on: 02 Feb 2011, 22:14:17 »
OFP code still works in Arma. Well, most of it anyways. So if you know an old way of doing what you want, chances are, you'll be able to duplicate it in the later titles.

Offline OFP_f3d3

  • Former Staff
  • ****
  • Fraud is the ready minister of injustice.
Re: detecting soldiers at a city
« Reply #2 on: 02 Feb 2011, 22:35:16 »
Thats the problem, i don´t know how to do it in ofp or ARMA


EDIT:"Alpha, this is eagle, a --type of soldier--- is at ---position CD50 for example----" I think i wnaat something imposible
« Last Edit: 03 Feb 2011, 21:49:01 by OFP_f3d3 »
Nothing in the world is as certain as death.

Offline Denz

  • Former Staff
  • ****
Re: detecting soldiers at a city
« Reply #3 on: 06 Feb 2011, 08:35:58 »
How about trying the nearTargets command and then reveal it to the group of Spec Ops.

Might also want to have a look through the ED, Cheetah's GetRCoord function might be useful.
I've got 'em right where I want 'em - surrounded from the inside!
Jerry "Mad Dog" Shriver, SOG Recon One-Zero
24/09/41 - 24/04/69