Forum Jump :

Author Message


Posts: 13
Rank:


Level: Member

Country: uk
Location:
Occupation:
Age:
In-game name:

 
#1 Posted at 2011-07-11 10:15        
     
basically here is what i have created, iv set a chopper to patrol around 4 waypoints to patrol on a cycle around an area. what ive created is three triggers zones with detected by opfor triggered by blufor. what i want is to try to get the chopper to respond to trigger 1 2 and 3 when bluefor are detected. so if a soldier gets detected at trigger 1, the chopper will move to trigger 1. and then to trigger 2 and 3 etc, or if they dont get detected at trigger one but at trigger 2, the chopper moves to that trigger.
ive tried searching for about an hour now with no results (probably have been searching with the wrong search criteria)
any help here would be great. another thing is to get another chopper that i have on standby to respond to a wider zone if blufor get detected at 2 triggers (say 1 and 3, or 1 and 2, or 2 and 3)... thanks (i hope thiss is the right place to post this)


Author Message


Posts: 1
Rank:


Level: Member

Country: uk
Location: London
Occupation:
Age:
In-game name:

 
#2 Posted at 2011-07-11 13:39        
     
hello, I think what you've got to do is use the createwp command with getpos setpos triggername?? in the on activation box of your detected by bluefor trigger.but dont quote me im a newbie meself, google arma 2 scripting commands biki for the commands and uses also if think stuff like this is covered in mr murrays arma mission editing guide.


Advertisement


Author Message


Posts: 13
Rank:


Level: Member

Country: uk
Location:
Occupation:
Age:
In-game name:

 
#3 Posted at 2011-07-11 13:47        
     
ok thanks il have a look, im a noobie too so :) thanks ill have a look at the guide

Added 1 hour 51 minutes later:

trying to read through the guide but nothing stands out that would relate to my query of getting a unit on a patrol to leave its patrol and respond to three triggers, 1 and/or 2 and/or 3.
im trying to get a chopper to follow last known detections of my blufor units

This post was edited by [RIP] Randyandy (2011-07-11 15:39, ago)


Author Message

Pirin  



Posts: 1547
Rank:


Level: Member

Country: us
Location: Atlanta, GA
Occupation: IT
Age: 43
In-game name: kylania

 
#4 Posted at 2011-07-11 18:20        
     
Here's a demo mission showing this at work.

Set up three MOVE waypoints and a fourth waypoint of type CYCLE near where the helo starts. This will be the patrol path. Then setup a SAD (Search And Destroy) waypoint past the CYCLE waypoint. We'll move this waypoint when we detect BLUFOR.

The triggers for the detection should have this as their OnAct:
[group hind, 5] setWaypointPosition [position thisTrigger, 0];

That will move the 5th waypoint of the helicopter (0 = placement, 1-3 = MOVE, 4 = CYCLE, 5 = SAD) to the position of the trigger.

For the demo mission just use your radio to start a BLUFOR attack on three patrolled towns.

Note that the waypoint will move to the latest trigger that activated if more than one do.

This post was edited by Pirin (2011-07-11 19:46, ago)


Author Message


Posts: 13
Rank:


Level: Member

Country: uk
Location:
Occupation:
Age:
In-game name:

 
#5 Posted at 2011-07-11 18:58        
     
great! ill check this out

Added 14 minutes later:

the link to the demo mission doesnt work :S

This post was edited by [RIP] Randyandy (2011-07-11 19:13, ago)


Author Message

VIPER[CWW]  

I'm a stable whore


Posts: 2126
Rank:


Level: Member

Country: en
Location:
Occupation:
Age: 28
In-game name: VIPER [RR]

 
#6 Posted at 2011-07-11 19:27        
     
Try this instead, pirin accidently added armaholic.com to the link...


Author Message

Pirin  



Posts: 1547
Rank:


Level: Member

Country: us
Location: Atlanta, GA
Occupation: IT
Age: 43
In-game name: kylania

 
#7 Posted at 2011-07-11 19:47        
     
Oops, link fixed. Guess the URL tags between BIS forums and here are different. :)


Author Message


Posts: 13
Rank:


Level: Member

Country: uk
Location:
Occupation:
Age:
In-game name:

 
#8 Posted at 2011-07-25 14:02        
     
sorry i havent gotten back with my results for this query,
yep the mission link worked and the triggers all work fine, the helicopter is doing exactly as i need it to do
thanks for your help guys






Tags: Help, Trigger