Home   Help Search Login Register  

Author Topic: OnMapSingleClick?  (Read 453 times)

0 Members and 1 Guest are viewing this topic.

Offline Killzone

  • Members
  • *
  • War is the true Enemy
OnMapSingleClick?
« on: 05 Oct 2004, 15:40:50 »
Is there a way to have a script not continue until I have clicked on the map once OnMapSingleClick has been activated?
"Everyone dies so deal with it and move on"

                                                      ME

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:OnMapSingleClick?
« Reply #1 on: 05 Oct 2004, 16:03:04 »
Rephrase that m8, I have no idea what you mean.  

Edit:   Do you want a script to pause, waiting for the player to click on the map?    If so, here is a working example


onMap=false

onMapSingleClick {CSM move _pos; leader CSM sidechat "CSM Moving on"; gl_CSM setPos [_pos select 0, _pos select 1,0]; onMap=true; onMapSingleClick {}}

@onMap
« Last Edit: 05 Oct 2004, 16:05:00 by macguba »
Plenty of reviewed ArmA missions for you to play

Offline Killzone

  • Members
  • *
  • War is the true Enemy
Re:OnMapSingleClick?
« Reply #2 on: 06 Oct 2004, 05:12:04 »
This is exactly what I need.

Sorry for the poorly written post. This is why it's not good to drink in the morning ;)

"Everyone dies so deal with it and move on"

                                                      ME