Home   Help Search Login Register  

Author Topic: Stopping & continuing an uncontrolled group.  (Read 965 times)

0 Members and 1 Guest are viewing this topic.

Offline dematti

  • Members
  • *
Stopping & continuing an uncontrolled group.
« on: 05 Oct 2007, 19:40:36 »
Hi,

When groups get in a firefight they keep moving towards their waypoints.
Is it possible to halt a squad when contact is made, and resume when the firefight is over?
Without beeing the leader of the squad.
Hopefully a radio trigger can solve this?

Thanx

Offline Wolfrug

  • Addons Depot
  • Former Staff
  • ****
  • Official OFPEC Old Timer
Re: Stopping & continuing an uncontrolled group.
« Reply #1 on: 05 Oct 2007, 21:06:31 »
Well, you can stop a group by a large number of different commands.

One is simple enough:

disableAI "MOVE" + enableAI "MOVE"

another is unit STOP true

However the real question you want to ask is: "How do I know when contact is made?"  ;)

I don't know. Off the top of my head: a big trigger which is activated by "OPFOR spotted by BLUFOR" in the area that the group is moving in. Alternatively if you've got complicated set-ups, you can start messing around with i.e. nearTargets and knowsAbout.

Hope that gives some ideas.  :good:

Wolfrug out.
"When 900 years YOU reach, look as good you will not!"

Offline dematti

  • Members
  • *
Re: Stopping & continuing an uncontrolled group.
« Reply #2 on: 05 Oct 2007, 21:15:53 »
ok got that working.
But how do i stop a squad then?

got it: stop false :clap:

thanks
« Last Edit: 05 Oct 2007, 21:19:01 by dematti »

Offline D_P_

  • Members
  • *
  • YAY! I'm a lama again! ...oh wait.
    • ArmaAddons
Re: Stopping & continuing an uncontrolled group.
« Reply #3 on: 06 Oct 2007, 04:37:40 »
Quote
"How do I know when contact is made?"


... setting the trigger to detected by should activate the trigger when contact is made
just setpos & forgetpos!