Jump to content

Conditions Precedent


Recommended Posts

If I want to edit the unit transfer scripts to accomodate a transfer of US , UK and USSR units to Europe upon the surrender of Japan. (Fixed at October 1, 1945), how do I change the conditions precedent line to just do the transfer on the failsafe date? I tried deleting the conditions precedent and it gave me an error.

Link to comment
Share on other sites

If I understand correctly, I believe you can just use the following dummy condition:

; dummy condition position

#CONDITION_POSITION= 0,0 [0,0] [0,0] [0]

All this is saying is proceed if there are 0 units at tile 0,0. This is guaranteed to be true in all cases since no unit can be placed at tile (0,0)

Link to comment
Share on other sites

I was thinking of adding some historical "what ifs" regarding the Pacific campaign. Make a small percentage chance (15-25% or so) that the US loses the Battle of Midway, then divert some of their MPP from the European theater to help on the west coast.

Link to comment
Share on other sites

Ideally you would have similar events where the second one activates only if the first one does not; however, I don't know if this is possible.

I.e.

Peace with Japan - 10%

------- If so then x, if not then 100%

Pearl Harbor Attack, If Pearl Harbor Attack then

------- 10% Japanese Victory at Midway, if not then 100% USA Victory at Midway.

Basically:

10% Peace with Japan and USA gets new Units in Atlantic

10% War with Japan and Japanese Victory at Midway

80% War with Japan and USA Victory at Midway

Perhaps this will be supported in a future update of SC2.

Link to comment
Share on other sites

×
×
  • Create New...