Jump to content
Sign in to follow this  
JonHye

Helicopter pickup with smoke signal

Recommended Posts

I would like to make a good old fashioned "call the chopper by radio and then mark the lz when it flyes overhead"-trick.

The calling of the chopper by radio isn't so much the problem.

It's the placement of the waypoint where the chopper will land. I don't know how exactly to move the waypoint. I could try and call the players position and then move a waypoint there somehow, but then I won't have the invisible H for the chopper to land on. Is there a way to have the invisible H move to where I throw a coloured smoke? Or even to move the H to the player position when a coloured smoke is thrown?

I guess my problem is making the smoke a "condition" for some kind of trigger or something.

confused.gif

Thanx in advance

Share this post


Link to post
Share on other sites

Not sure about smoke, but you could use a radio call.  You should be able to create a helipad (using the createunit command or whatever it's called) and as you said, to first make the game get your position, and then tell the game to create a helipad at that position when you make the radio call. I think there is a command for finding out if a unit fired a certain weapon, but I'm not sure what it is.

Share this post


Link to post
Share on other sites

A command to check whether a unit has fired a specific weapon would be just what I need. But what is it? wow.gif

Share this post


Link to post
Share on other sites

I hope you'r good at scripting!!!

here we go:

Type the following in a .txt file (notepad)

_thrower=_this select 0

_heli = _this select 1

@_thrower distance_heli < = 500

_thrower dowatch _heli

Smoke = "smokeshell" camcreate [getpos _thrower + 5, getpos _thrower +5]

exit;

When you'r done do "save as" and type scriptname.sqs

Call syntax: [soldier, rescuechopper] exec "scriptname.sqs"

I set the distance between chopper and soldier to 500 so the smoke has some time to appear.

Have fun wink.gif

Share this post


Link to post
Share on other sites

Well..... That will just make some smoke appear when the chopper is getting near. That will of course work fairly well, though what I was hoping for was for the player to manually throw a smokeshell, and then move an invisible H to the location of that smokeshell ( or just to the location of the player ). + I don't want the chopper to land before it is able to see the smoke ie. a few seconds after the smoke has been thrown.

thanx though Humvee, your suggestion might be the only thing possible.

Share this post


Link to post
Share on other sites

biggrin.gif Thanx Indtruder!

I think I've got exactly what I need now. I just gotta work it into the mission, which of course will take some time... but that's the fun of it!

Over and Out!

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  

×