Jump to content
Sign in to follow this  
DecimusAquila

late heli pick ups...

Recommended Posts

Salute,

I have come once again for another question(do bare with me). My issue now is a great burden cause I have tried all the commands both single and mixed them up with all I have read here.

I am no scripter so try to use the commands in the editor. I will have to explain my coop mission first before understood what is bothering me...

<span style='color:blue'>The coop begins with nine men, picked up by a heli and droped at base.

Another pick is done, only this time truck. taking the men to the hot zone of a downed hawk. After killing every enemy in that area and secure the zone for evac...

Say for example 5 of my men are dead, leaving me with 3 men alive. HQ now reports of stolen devices from the downed hawk and we are to retrieve them.

HQ sends move men of 5 in number via helicopter to a nuetral zone. Once these five men join my group, I am complete once more with 9 men altogether.

After battling enemy forces to recieve the documents, I now goto the pick up zone where a black hawk will land and pick us up via trigger system.</span>

<span style='color:red'>Now this is the fishy part. fighting the last mission, I am left with 2 men alive. I also died but then respawned to another soldier.

When the helicopter lands for pick up, and I enter it, the chopper will not fly because my command codes does not match it condition to take off.

example of code:

my conditions for heli to takeoff: a in heli AND b in heli AND c in heli AND d in heli AND e in heli.

my activation: helidoMove = 1; heli flyInHeight 60

...........................

so c,d,e units have died. left with a and b units. Because 3 units are dead, the heli refuses to takeoff, not until all units are in heli, it will not move a cm due to the command.

....................................

ok, after this problem, I now decided to make all units in groups with...

ini part - echo=group this

I tried it with names of each unit and also tried it without names under each unit.

(for each unit under my command).

I now put in the trigger for the heli to get the command takeoff after each unit remaining in group enters heli...

code...

condition in trigger for heli: echogroup in heli or groupecho in heli ---(I tried both ways)

activation: helidoMove = 1; heli flyInHeight 60

.........................................

The heli still did not takeoff. Please help me with the right command direction.

Thankyou.

</span>

Share this post


Link to post
Share on other sites

well i found your problem..

Quote[/b] ]

conditions for heli to takeoff: a in heli AND b in heli AND c in heli AND d in heli AND e in heli.

like you said if those are dead heli wont take off..

What i suggest presuming the helicopter has landed for pickup, just tell your men to board and make sure your the last guy in and he should take off. just leave the condition as this.

As long as your the last guy in after you order your men in he wont move untill your in..

Share this post


Link to post
Share on other sites
well i found your problem..
Quote[/b] ]

conditions for heli to takeoff: a in heli AND b in heli AND c in heli AND d in heli AND e in heli.

like you said if those are dead heli wont take off..

What i suggest presuming the helicopter has landed for pickup, just tell your men to board and make sure your the last guy in and he should take off. just leave the condition as this.

As long as your the last guy in after you order your men in he wont move untill your in..

<span style='color:red'>Rgr that Matt,

Thankyou for a quick reply...

Though let us say for example, I will do as you have written, but the heli will be programmed to take the remaining men plus me to another LZ...

Near the LZ will be 2 trucks controlled by AI waiting for us to transport us to the hot front line.

Now timing the trucks to wait for us will be impossible because the early objectives before being transported by heli to those trucks maybe too late, (very likly they will live before our reach or we will have to wait for a long time if we get there in time before they move). Timeing will be out of the question.</span>

<span style='color:green'>Also I cannot give thoses trucks a "condition" with---

------------------------------------------------------------

a in truck AND b in truck AND c in truck AND d in truck AND e in truck...

since 3 of my men can die and the problems begin to repeat itself just like the problem with the heli in the above of my first post.

------------------------------------------------------------

Although I could trick the AI game thinking, by adding 5 more fresh units (example q,w,r,t) near the truck transport zone with a trigger using the command---

[q,w,r,t] join player

[remember my former men were a,b,c,d,e --- units c,d,e are dead, I am left with unit a and unit b alive]

Then once these fresh units (q,w,r,t) join my group (a,b), I could now freely add the commands in conditions for the AI controlled trucks to move---

q in truck AND w in truck AND t in truck AND r in truck.

This way, I can first enter the trucks with my former units and then ask the new units to enter, making the truck move.</span>

<span style='color:blue'>I was really hoping that there will be a special command where vehicles can pick every unit under my command be it new or old or less in numbers (some units dead and few units alive) than when the coop mission started.

It looks like for this type of issue a command was not made or am I wrong?</span>

Share this post


Link to post
Share on other sites

You would have to send me the mission because it can get complicated. Id be writing a novel lol...

Share this post


Link to post
Share on other sites
You would have to send me the mission because it can get complicated. Id be writing a novel lol...

biggrin_o.gif

Salute,

Thankyou for the help. I have sent you the download link for mission via your Private message.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×