Forum Jump :

Author Message


Posts: 46
Rank:


Level: Member

Country: de
Location:
Occupation:
Age: 23
In-game name: Joey

 
#1 Posted at 2013-10-13 15:27        
     
Hello,

I know this is an easy question but I don't find the answer...

In my mission there's a little battlefield and I want a helicopter to fly in and extract the player when all enemy units are dead or left the warzone.

I made a trigger which has got the activation "OPFOR" "NOT PRESENT" in the radius of the field. Also I made a chopper and set it via waypoint to the extraction point. Then I synched the Waypoint and the trigger but if I start the mission, the chopper comes in directly without all enemys being dead.

Can someone help me? Thanks!


Author Message


Posts: 72
Rank:


Level: Member

Country: us
Location: North Carolina
Occupation: Marine Aviator, VMFA-115
Age: 29
In-game name: TYPHOONTIGER2

 
#2 Posted at 2013-10-14 03:06        
     
I'll look into your problem. What I recommend doing as of now is to make a radio trigger. So lets say after you press alpha on the radio, the helicopter will then move to extract. Same thing as the waypoints and sync.


Advertisement


Author Message


Posts: 283
Rank:


Level: Member

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

 
#3 Posted at 2013-10-14 14:35        
     
You could set a variable to activate the extraction, and check for the value of that variable as a precondition for a waypoint. Synchronising waypoints is in my experience less reliable than using variables in MP games and is therefore a method that I will avoid at all times.

(1) Create a trigger with Opfor not present, but put into the on activation field:

helicopter_extraction = 1; publicVariable "helicopter_extraction";

(2) Place the helicopter with a move waypoint right on top with the following text in the condition field:

(helicopter_extraction == 1);

(3) Place the next waypoint for the helicopter on the extraction point.

The publicVariable statement is for MP purposes: this ensures that the newly set value of the variable helicopter_extraction is broadcast to all connected machines, thereby ensuring that it will in this case be set to 1 for all players.

Regards,

Sander