Home   Help Search Login Register  

Author Topic: Reaction To Sniper....  (Read 448 times)

0 Members and 1 Guest are viewing this topic.

thenick100

  • Guest
Reaction To Sniper....
« on: 28 Jul 2003, 20:59:57 »
Hey, I have this mission where the player is a sniper and has to kill this general guy in a camp... it is from a distance, and in plenty of cover. My problem is that when i shoot the general, the units in the camp either go prone, or do nothing at all. How do i set it up so that when the general is killed, the units in the camp, and his personal guard hunt for the sniper or start scaning in my direction etc?

Kaliyuga

  • Guest
Re:Reaction To Sniper....
« Reply #1 on: 28 Jul 2003, 21:10:09 »
 You make a trigger that encompasses the base .... and then group the General to the trigger.

make sure its on  group leader not present

then make all your guys in the base.. give them a waypoint where you want them to be at until the general is dead.

then synch the waypoints to the trigger with (F5)

now you can continue to place waypoints for the guys in the base... they will wait at their first waypoint (or whatever one is synched with the trigger actually) until the trigger is tripped by the General being dead and then they will finish their waypoints..

:cheers:

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:Reaction To Sniper....
« Reply #2 on: 28 Jul 2003, 21:12:04 »
Create a trigger

Type:  Switch
Condition:      not (alive general)
On Activation:     hunterGrp1 move getPos sniper1*; patrol1 setbehaviour "aware"

Synchro the trigger with cycle waypoints of patrols.    For example, you might have a patrol with waypoints like this

MOVE
MOVE
CYCLE  <------ synchro the switch trigger with this one
GUARD   (or SEEK+DESTROY followed by CYCLE)

There is a  tute on switch triggers in the Ed Depot.


*A bit unrealistic but once you get the idea you can make it more sensible.
Plenty of reviewed ArmA missions for you to play

Kilo11

  • Guest
Re:Reaction To Sniper....
« Reply #3 on: 29 Jul 2003, 00:20:37 »
OR:

Make a script that is activated when this occurs.  SO have a trigger with:

-Condition: Not Alive General
-On Activation: this exec "alert.sqs"

Then make a new txt file, and put the following in it:

; Makes units search for you in general direction
personalguard DoMove GetPos player

; THis makes him Open fire/Engage at will
personalguard setcombatmode "RED"

;This sets his behaviour to AWARE
personalguard setbehaviour "AWARE"

; Then repeat that for all of the units you want to chace the sniper

man1 DoMove GetPos player
man1 setcombatmode "RED"
man1 setbehaviour "AWARE"

That does it.  It is bassically the same thing as the post earlier, but much more reliale.  Script will assure that what needs to get done will get done.  IF you want me to make the script for your I will, unoless you already konw how to.

Also, another sugguestion for your mission:

Make a trigger with the following:

-West
-Detected by East (Or whoever the enemy is, so u may have to flip)
-On Activation: this exec "alert.sqs"

This will make it to where once you are detected, enemies will come to your position.  You could also put an "Alarm" sound in there if you watned to.

NOTE:  You have to group your sniper to the Trigger for this to work.  And you must have the trigger covering the entire map, so make the Axis 99999999999

Cheers!

-=Kilo=-