Jump to content
Sign in to follow this  
fubarno1

Destroy abandoned Helli

Recommended Posts

I am part way through a mission idea and have hit a problem.

I need to destroy a damaged Helli,

On the return flight the Helli suffers damage and has to make a forced landing, if they manage to live through that I need the Helli to destroy itself after the men have vacated to a safe area.

My first thoughts was to change from starting as pilot in the Helli to making an empty Helli with a getin waypoint but for some reason it wont load a squad at the pick-up point, yet if I change it back to starting in the Helli it works fine.

the problem I have is I name the Helli h1 and as the pilot needs to survive the crash he takes that ID which leaves the Helli with no ID, so I can not see how I can set something to destroy the Helli if I can't call an ID for it. (hope I'm making sense here)

Whats confusing the hell out of me is if I change from a Helli to a man and add an extra getin waypoint on a empty Helli, it still follows the waypoints ok but flyes off without picking up the men, nothing has changed except adding an extra waypoint huh.gif?huh.gif??

Easier to explain with example missions.

Working mission

NONE Working mission

Also whats the correct path for sidechat ?

Share this post


Link to post
Share on other sites

I tried that but it comes up with the number ID rather than the name of the group/person making the sidechat.

I have cheated a little with the destroy damaged heli, I have added a Saboteur into the group, then in the init of a waypoint added s1 fire "pipebombmuzzle" then made a trigger a little distance away with s1 action ["touchoff", s1] this works but is dependant on the pilot putting the heli as near to the waypoint as poss, just means my idea of having a human control the heli is now out the window sad_o.gif

my whole idea was for the human pilot to get the heli safely down into an area then join the main group and continue on foot, unless someone can come up with something better that works?

Share this post


Link to post
Share on other sites

When you use an empty helo and try to pick up the sqaud, have you tried to use the AssignAsCargo command on each troop getting in? Also if you dont want to watch them get in, you could use the MoveInCargo command.

RE:Sidechat

Try the "setGroupID" command.

group1 setGroupId ["Delta","GroupColor4"]; Also heard that in Arma the "delta" can be changed to what ever you want, unlike ofp.

Cheers

GC

Share this post


Link to post
Share on other sites

Have you tried making the heli empty and moving the player guy there with the this moveindriver command?

Then a trigger such as:

COND: !canmove heli1 and (guy1 distance heli1 > 30)

ACT: heli1 setdammage 1

I'm not sure if it works in your case, but that's what I'd do.

Share this post


Link to post
Share on other sites
When you use an empty helo and try to pick up the sqaud, have you tried to use the AssignAsCargo command on each troop getting in?

Cheers

GC

Forgot to pass on my thanks!

That sorted the not loading issues  notworthy.gif

Seems without that command the squad refuse to board the heli, all my piss-arsing around and it was something as simple as that  banghead.gif

Cheers GC

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  

×