Home   Help Search Login Register  

Author Topic: Question about getMarkerPos  (Read 1044 times)

0 Members and 1 Guest are viewing this topic.

Offline Meatball0311

  • Members
  • *
Question about getMarkerPos
« on: 02 Dec 2005, 22:55:42 »
I am telling my helo: helo getMarkerPos "base"
I keep getting an error.  How do you set a marker for my base?

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:Question about getMarkerPos
« Reply #1 on: 02 Dec 2005, 23:16:22 »
Your command doesn't make sense.

What are you trying to do?    Do you want the chopper to fly to that position?
Plenty of reviewed ArmA missions for you to play

Offline Meatball0311

  • Members
  • *
Re:Question about getMarkerPos
« Reply #2 on: 02 Dec 2005, 23:27:52 »
yes. I want my helo to fly back to the base after inserting my troops.  I am telling my helo two commands: helo flyinheight 35; helo domove getMarkerPos base

is that correct?
 
also how do i make a marker for my base, so helo can get that marker position?

marcus3

  • Guest
Re:Question about getMarkerPos
« Reply #3 on: 02 Dec 2005, 23:44:52 »
in the marker makeing interface, in the name put
Base
that is jst a name for getpos that will not show up on the screen, in the text box, what u put will show up :) hope this helps

Offline Triggerhappy

  • Contributing Member
  • **
  • Llama, it's what's for dinner.
Re:Question about getMarkerPos
« Reply #4 on: 03 Dec 2005, 01:03:37 »
also, marker names are strings ( "name" )

Offline Raptorsaurus

  • Editors Depot Staff
  • *****
Re:Question about getMarkerPos
« Reply #5 on: 03 Dec 2005, 01:24:41 »
You need to put : helo doMove getMarkerPos "base".  That will work if the the marker name is "base".  But that will not make the chopper land unless you have a trigger telling it to do so near the "base".  Also you should put a helipad or invisible helipad at the base so the chopper knows where to land.  If you do that, then you can name the helipad base_pad or somthing like that.  Then you can use the command: helo doMove getPos base_pad.  Then at the base put a trigger with a radius that goes beyond the boundries of the base.  Group the trigger to the chopper so that the tigger becomes a "vehicle present trigger".  Then in the on activation feild of the trigger put : Helo land "land".
« Last Edit: 03 Dec 2005, 01:25:53 by Raptorsaurus »

Offline Meatball0311

  • Members
  • *
Re:Question about getMarkerPos
« Reply #6 on: 03 Dec 2005, 06:04:13 »
Thanks to all!

Rap that is good stuff thanks.

I am going to post another question and I would like all of your input

thanx

Offline Meatball0311

  • Members
  • *
Re:Question about getMarkerPos
« Reply #7 on: 03 Dec 2005, 17:38:31 »
O.K. I think my problem is solved.

What I did was make a H pad and named it base_pad.

next, I made a trigger (axis a = 5, axis b = 5) and placed on top of H pad (base).

then I hit F-2 (group) and draged it to my helicopter named (helo) and grouped the helo with the trigger, which then made the trigger only be activated by (helo) being present.

I gave helo some normal waypoints and at the last waypoint in the on Activation field I wrote - helo domove getPos base_pad

Now, I can have my helo insert my troops, and then it will return to the helo pad that I want it too.

Thanx to all, and to all a Merry Christmas