Home   Help Search Login Register  

Author Topic: onMapSingleClick help  (Read 900 times)

0 Members and 1 Guest are viewing this topic.

Offline Meatball0311

  • Members
  • *
onMapSingleClick help
« on: 17 Dec 2005, 09:09:01 »
This is what I want to do, I want to click on the map and have a helo fly to that pos and perform an action (lets say land).  I have looked and even did a search, cant find a thing about SP onMapSingleClick.  I need to know what to put into the script and where to put it.

Offline bedges

  • Administrator
  • *****
    • OFPEC The Editing Center
Re:onMapSingleClick help
« Reply #1 on: 17 Dec 2005, 11:56:47 »
first port of call concerning commands in flashpoint should always be the comref. plenty of help there ;)

Offline Meatball0311

  • Members
  • *
Re:onMapSingleClick help
« Reply #2 on: 18 Dec 2005, 07:51:36 »
I know and I looked, but really what I need help in is where exactly do I put the information (trigger?, script?,......) I am new at doing major editing.

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:onMapSingleClick help
« Reply #3 on: 18 Dec 2005, 18:12:19 »
In general you can put commands anywhere - script file, trigger, waypoint or init field.    (There are a few exceptions.)    This command is tricky and although it will technically work elsewhere, it's usually best to put it in a script.

Before you start messing with it, write a script that makes a chopper fly to a known point and land.   Only when that is working smoothely should you expand it to cope with onMapSingleClick.
Plenty of reviewed ArmA missions for you to play