OFPEC Forum
Editors Depot - Mission Editing and Scripting => ArmA - Editing/Scripting General => Topic started by: SniperUK 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.
-
change dis line
airstrikebomb = "Bo_GBU12_LGB" createvehicle _pos;
2 dis
airstrikebomb = "Bo_GBU12_LGB" createvehicle [_pos select 0, _pos select 1, 30];
LCD OUT
-
Well that was embarrasing :P i knew it was something simple but i put getpos infront of the array. Thanks LCD.
-
:D deres alwayz someting we dont see ;)
LCD OUT