OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Jahve on 24 Mar 2003, 15:12:14
-
How the **** can i edit so my mission only allows for ONE lgb strike????
-
; define FIGHTERBASES
; 0 - ID of battery (assigned automatically in the script, does not need to be entered here)
; 1 - Name of airbase/aircraft. Must be different for each base on a particular side.
; This is used in the fire support dialog. - STRING
; 2 - Sides that can call this airstrike - ARRAY ([SIDE,SIDE,...])
; 3 - Number of calls allowed - NUMBER
; 4 - Position of fighterbase - ARRAY ([NUMBER,NUMBER])
; 5 - name of a marker to be used for the icon of this fighterbase (marker must exist in editor) - STRING
; 6 - type of marker to represent this fighterbase (must be entered) - STRING
; INDEX => 1 2 3 4 5 6
;-----------------------------------------------------------------------------------------------------------
_west_fighterbase_a10 = ["Airstrike",[west],3,getMarkerPos "mCAS_FixedWing_West","mCAS_FixedWing_West","SNY_fixedwing"]
Jahve - im guessing it has to do with #3 in your init_airstrike.sqs file
dont take my word for it, just a thought
cheers mate
-
yeah, make:
_west_fighterbase_a10 = ["Airstrike",[west],3,getMarkerPos "mCAS_FixedWing_West","mCAS_FixedWing_West","SNY_fixedwing"]
equal
_west_fighterbase_a10 = ["Airstrike",[west],1,getMarkerPos "mCAS_FixedWing_West","mCAS_FixedWing_West","SNY_fixedwing"]
;D
-
the scripts are in a pbo are they not? just guessing.
-ZiRo