Home   Help Search Login Register  

Author Topic: onMapSingleClick Issue  (Read 1136 times)

0 Members and 1 Guest are viewing this topic.

Offline SniperUK

  • Members
  • *
  • I'm a llama!
onMapSingleClick Issue
« on: 21 Jun 2007, 15:05:50 »
Hi guys i am currently making alterations to one of my maps which will simulate an airstrike at any given location.
The commander will have access to a menu when he selects airstrike he will then be prompted to click a location on the map where he wants it to hit. I have scripted this as below:

Issue Fixed.
« Last Edit: 21 Jun 2007, 16:33:25 by SniperUK »

Offline LCD

  • Former Staff
  • ****
    • Everon Cartel
Re: onMapSingleClick Issue
« Reply #1 on: 21 Jun 2007, 15:18:21 »
change dis line

Code: [Select]
airstrikebomb = "Bo_GBU12_LGB" createvehicle _pos;
2 dis

Code: [Select]
airstrikebomb = "Bo_GBU12_LGB" createvehicle [_pos select 0, _pos select 1, 30];
LCD OUT
"guess being the community has downsides .." - cheetah
Help Perfecting Da Next Best Thing - O-Team Beta

Offline SniperUK

  • Members
  • *
  • I'm a llama!
Re: onMapSingleClick Issue
« Reply #2 on: 21 Jun 2007, 15:27:29 »
Well that was embarrasing :P i knew it was something simple but i put getpos infront of the array. Thanks LCD.

Offline LCD

  • Former Staff
  • ****
    • Everon Cartel
Re: onMapSingleClick Issue
« Reply #3 on: 21 Jun 2007, 17:23:14 »
:D deres alwayz someting we dont see ;)

LCD OUT
"guess being the community has downsides .." - cheetah
Help Perfecting Da Next Best Thing - O-Team Beta