#ADD_HQ= 1

Please post here for questions and discussion about modding for Strategic Command.
Post Reply
User avatar
Gilber
Posts: 253
Joined: Wed Jun 13, 2018 10:16 am
Location: Luxembourg

#ADD_HQ= 1

Post by Gilber »

hello,

The following Guard script works but if I modify #ADD_HQ= 0 to #ADD_HQ= 1 the script is not accepted,

{
#NAME= Défense Amiens
#POPUP= Défense Amiens
#FLAG= 1

#TYPE= 2

#COUNTRY_ID= 112

#TRIGGER= 100

#LEVEL= 0
; Set global variable condition to always trigger (dummy value)
#GV= 1[1,100]
; Set link value to always trigger (dummy value)
#LINK= 0[0]

#LENGTH= 1

#HOLD= 2
; 2 = Unité la plus forte possible, Possibilité d'Attaquer

#ADD_HQ= 0


#GOAL_POSITION= 154,82
; 154,83 = Reims

#GOAL_POSITION= 155,82
; 154,83 = Reims

#DATE= 1939/10/14

#STEAL= 0

#FRIENDLY_POSITION= 151,84
; 151,84 = Paris

#VARIABLE_CONDITION= 40 [2] [100] [0]
; La France est un Allié en Guerre

#VARIABLE_CONDITION= 116 [2] [0] [0]
; URSS est un Allié Aligné >0%

#TACTICAL_CONDITION= 151,84 [3]
; 151,84 = Paris

#ACTIVATE_POSITION= 0,0 [0,0] [0,0] [0]
; Script toujours Activé

#CANCEL_POSITION= 151,82 [1,1] [1,1] [1]
; 151,81 = Amiens
; Script annulé si une unité de l'axe détectée
}

does anyone understand why #ADD_HQ= 1 could be a problem?

Gilles
Gilles
User avatar
Hubert Cater
Posts: 6098
Joined: Mon Jul 22, 2013 11:42 am
Contact:

RE: #ADD_HQ= 1

Post by Hubert Cater »

Hi Gilber,

Can you tell me what the exact error message is that you receive when you try and compile this event?

Hubert
User avatar
Gilber
Posts: 253
Joined: Wed Jun 13, 2018 10:16 am
Location: Luxembourg

RE: #ADD_HQ= 1

Post by Gilber »

Hi Hubert,

when i compile this event in the script edit windows, guard stays with * (guard*)

Gilles
Gilles
User avatar
Hubert Cater
Posts: 6098
Joined: Mon Jul 22, 2013 11:42 am
Contact:

RE: #ADD_HQ= 1

Post by Hubert Cater »

Hi Gilles,

In this case click on the event list item in the left column that has the '*' showing, and then click on 'Update' and it should then provide a more detailed error message. Typically the message should indicate what it is you'll have to do to correct the script, and if not let us know.

Hubert
Post Reply

Return to “Scenario Design and Modding”