Forum Jump :

Author Message


Posts: 19
Rank:


Level: Member

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

 
#1 Posted at 2010-08-14 16:35        
     
What I need is a chopper to take off and fly away when a certain trigger is activated. Now, this is supposed to be really simple (add chopper "in formation", add chopper waypoint, synchronize waypoint with trigger). I did this in the mission I'm building and it worked great initially but efter some time the chopper immediately starts its engines and lifts off. After take off it just climbs ~50 meters and hovers.

Just to isolate the problem I've tried doing the above in a different (throw away) mission and it works as expected (no t/o + hovering) so it's like the mission itself somehows triggers the take off. I'm at my wits end here guys. Can anyone help me get this sorted?


Author Message

W0lle  

call me evil


Posts: 1944
Rank:


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

 
#2 Posted at 2010-08-14 17:15        
     
In the chopper you want to wait until a trigger is activated, does it have human players as cargo?

If not then do this:
1) Give the chopper a name, here we use helo1
2) In the initialization line of the chopper write: helo1 enableSimulation false;
3) When you want the chopper to take off write in a triggers onActivation line: helo1 enableSimulation true;


Advertisement


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]

 
#3 Posted at 2010-08-14 17:21        
     
How are u previewing your mission? in the editor itself or in your sp/mp missions? its best to preview it in sp/mp missions (whichever your misssion is for) if yes then after you make changes and save it (export) doesnt always play the change you have made so go to your program files and delete the mission in whatever folder you have it either missions or MPmissions, then export the mission again with an added civilian or unit so u can spectate, then play it.

I know it takes the mickey this but with some missions i have made the changes werent played until i deleted the old file and saved it again.


Author Message


Posts: 19
Rank:


Level: Member

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

 
#4 Posted at 2010-08-14 18:43        
     
# W0lle : In the chopper you want to wait until a trigger is activated, does it have human players as cargo?

If not then do this:
1) Give the chopper a name, here we use helo1
2) In the initialization line of the chopper write: helo1 enableSimulation false;
3) When you want the chopper to take off write in a triggers onActivation line: helo1 enableSimulation true;

Thanks alot. That did the trick.

# VIPER[CWW] : I know it takes the mickey this but with some missions i have made the changes werent played until i deleted the old file and saved it again.

If I understand you correctly there is a bug in the software that sometimes leaves changes in the mission that is no longer present on the map?


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]

 
#5 Posted at 2010-08-14 21:04        
     
Yes and no, I often ended up leaving projects as they were not showing up as i created them but i did abit of fiddling and found out that little problem.

It is the other way round to what you stated the changes were in the editor but not in the mission.