Forum Jump :

Author Message

ogar  



Posts: 37
Rank:


Level: Member

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

 
#1 Posted at 2009-11-16 22:04        
     
Im planing to put a chopper on the map who will start hunting the player when he enters a trigger. How do i do this? a want the chopper to fly directly to the player no matter where he is inside the trigger.


Author Message

W0lle  

call me evil


Posts: 1960
Rank:


Country: de
Location:
Occupation: CWR² Project Lead
Age: 103
In-game name:

 
#2 Posted at 2009-11-16 22:19        
     
The easiest way is to write this in the onActivation line:
myhelo move getPos player

myhelo is the name of the helicoper. You may also set his combatmode to red so he attacks the player once he spotted him.
myhelo move getPos player; myhelo setCombatMode "RED"


Advertisement


Author Message

Nightrain  

I blow you away


Posts: 960
Rank:


Level: Member

Country: us
Location:
Occupation:
Age: 27
In-game name:

 
#3 Posted at 2009-11-16 22:24        
     
Follow these steps:

1. First give the chopper a name like, myhelo then give the player a name like player

2. In the condition of the trigger put this
player in thislist;
That will make the trigger activate when the player walks into it.

3. In the OnAct of the trigger put what Wolle posted:
myhelo move getPos player; myhelo setCombatMode "RED"

There you go, and Wolle, you beat me to it:p

Armstrong-"Hey Carillo, do you see that?"
Carillo-"See what?"
Armstrong-"Something's burning over there, see the smoke?"
Carillo-"That's not smoke it's dust!"
Armstrong-"Dust? i don't get it."

Author Message

ogar  



Posts: 37
Rank:


Level: Member

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

 
#4 Posted at 2009-11-17 08:14        
     
thank you guys!


Author Message


Posts: 54
Rank:


Level: Member

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

 
#5 Posted at 2009-11-27 17:01        
     
Interesting post inded!
But does this work for multiplayer (coop) mission as well?


Author Message


Posts: 1
Rank:


Level: Member

Country: us
Location: Earth somewhere
Occupation:
Age:
In-game name:

 
#6 Posted at 2012-06-18 03:47        
     
I am trying to do something similar to this, but I want a Spetsnaz team to hunt down my player character. is a trigger to walk through absolutely needed for this to happen?


Author Message


Posts: 518
Rank:


Level: Member

Country: us
Location:
Occupation:
Age: 44
In-game name:

 
#7 Posted at 2012-06-18 07:08        
     
I like the idea to have enemy AI hunt you and your buddies, and then when you kill them all they'd respawn somewhere randomly in the trigger. aahh im getting scares already, lol