Jump to content

Naval Transport with loop


Recommended Posts

For my world game. I have tested now 4 games and in each one the UK does not do this. I dont know why.

; UK reinforces India

{

#NAME= UK Sends Reinforcements - India 1942

#POPUP=

#FLAG= 1 ** default event

#TYPE= 1 ** do until succeeds **

#COUNTRY_ID= 1 *UK*

#TRIGGER= 100

#GV= 1[1,100]

#LINK= 0[0]

#LEVEL= 0

#SIZE= 2

#BUILD_LENGTH= 4 **enough time to build up changed from 0 **

#LENGTH= 10

#GOAL_POSITION= 9,23 *** Calcutta port ***

#GOAL_POSITION= 158,55 *** naval loop ***

#GOAL_POSITION= 157,28

#GOAL_POSITION= 168,24

#GOAL_POSITION= 176,23 ** just outside liverpool **

#DATE= 1942/01/01

#STEAL= 3 ** I did have this at 0 but I had plenty of units in UK **

#FRIENDLY_POSITION= 187,28 *** Liverpool ***

; 1st Line - UK politically aligned with Allies and not surrendered

; 2nd Line - India politically aligned with Allies and not surrendered

#VARIABLE_CONDITION= 1 [2] [100] [0]

#VARIABLE_CONDITION= 35 [2] [100] [0]

; 1st Line - London not tactically threatened

#TACTICAL_CONDITION= 187,28 [1]

; Set activate position:

#ACTIVATE_POSITION= 184,28 [3,3] [2,2] [2] ** 2 units within 3 range of center of UK**

#CANCEL_POSITION= 185,28 [1,1] [1,1] [1] ** axis near london **

#CANCEL_POSITION= 8,23 [1,1] [1,1] [1] ** axis near calcutta **

}

Never works WTF?

Link to comment
Share on other sites

Al;

Three things come to mind:

- You have to consider other scripts that may be active at the same time and may be the reason the transport is not working.

- Distance. I have seen that long distances can cause problems. Try a test. Use the same script and send the UK reinforcements to South Africa. If it works, try India.

- If this does not work try to put dummy entries in CANCEL_POSITION, ACTIVATE_POSITION, TACTICAL_CONDITION, and VARIABLE_CONDITION.

Trying to eliminate all variables. If the script works, add each variable back one at a time and test.

Let me know how this works!

Robert

Link to comment
Share on other sites

I did realize I have my goal positions backwards. The loop is the last place it should go. The 1st goal is final destination and it reads waypoints top down right? I have it bottom up in the example there.

IT SHOULD BE...

#GOAL_POSITION= 9,23 *** Calcutta port ***

#GOAL_POSITION= 176,23 ** just outside liverpool **

#GOAL_POSITION= 168,24

#GOAL_POSITION= 157,28

#GOAL_POSITION= 158,55 *** naval loop ***

UK it top right and the waypoiunts lead to bottom right. THEN the last one loops to FAR left middle of map. I have pacific on left side and europe on right side.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...