Forum Jump :

Author Message


Posts: 2
Rank:


Level: Member

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

 
#1 Posted at 2014-09-20 16:29        
     
Hallo, ich verzweifle ..

Der Hummingbirth soll erst dann starten(losfliegen) wen der Spieler 1 sich ausgerüstet hat und im Helikopter sitzt. eine KI Besatzung wartet bereits im Heli. (kein modul) hat jemand eine Idee... habe schon viel ausprobiert, oder den passenden befehl mit trigger?...

Zuerst wollte ich einen Mohawk (H1), doch die nato besitzt keinen, dafür habe ich dem Ki-Piloten(pilot1) den befehl gegeben - this moveInCargo H1; pilot1 action ["getInPilot", H1; pilot1 action ["engineOn", H1]; klappt auch nicht, haut einfach ab. trigger -> synchronisiert true player1...

-bin froh èber jeden Tipp-befehl ;) mfg Jayden

______

The Hummingbirth(or Mohawk) should only start (fly away) whom the player has one fitted and sitting in the helicopter. an AI crew is already waiting in the helicopter. (not a module) someone has an idea ...'ve tried a lot, or the appropriate command with trigger? ...


Author Message

ir0n  



Posts: 33
Rank:


Level: Member

Country: de
Location: Bayern/Munich
Occupation:
Age:
In-game name: Iron

 
#2 Posted at 2014-09-20 17:32        
     
1. http://www.armaholic.com/forums.php?m=posts&q=17 3.8 only write in english

Make the heli an hold waypoint

Make a trigger with switch and con: test == 1;
now sync it with the hold waypoint

Write this in the init.sqf:
execVM "flyaway.sqf";
test = 0;

create a flyaway.sqf:
while {true} do {
if ( vehicle player != player ) then { test = 1; if (true) exitWith {} }; }

I couldn´t test it, but it should work :) (its not the best solution)

http://steamcommunity.com/id/ir0nboy/
"You just don't in the 21st century behave in 19th century fashion by invading another country on completely trumped up pre-text" -John Kerry

Advertisement


Author Message


Posts: 2
Rank:


Level: Member

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

 
#3 Posted at 2014-09-21 01:13        
     
thank's!^^