Couple of script questions (Full Version)

All Forums >> [New Releases from Matrix Games] >> Strategic Command Series >> Strategic Command WWII: World at War >> Tech Support



Message


Elessar2 -> Couple of script questions (12/2/2021 1:25:50 AM)

#1, Partisans only work one way; that is, the PARTISAN FLAG does not allow you to ensure BOTH sides get partisans if they occupy hexes in a given country, only the side which conquered the country in question.

#2, weird issue with how the text of a POPUP event displays. The script, then the associated text:

{
#NAME= Warning about Chinese militia spawns in S. China
#POPUP= <<TAG_233>>
#MESSAGE=
#IMAGE=
#SOUND=
#FLAG= 1
#TYPE= 0
#AI= 0
#LEVEL= 0
#GV= 1[1,100]
#LINK= 0[0]
#COUNTRY_ID= 60
#TRIGGER= 100
#PRIVATE= 1
#DISPLAY_ORDER= 1
#DISPLAY_TURN= 1
#DISPLAY_STYLE= 0
#MESSAGE_STYLE= 2
#DATE= 1941/12/07
#TEXT_RGB= 255,255,255
#SHADOW_RGB= 0,0,0
#MAP_POSITION= 88,42
; Tokyo is in Axis hands
#ALIGNMENT_POSITION= 123,53 [1]
;Japan is at war
#VARIABLE_CONDITION= 60 [1] [100] [0]
; Dummy condition (always satisfied)
#CONDITION_POSITION= 0,0 [0,0] [0,0] [0] [0]
}

<<TAG_233>>= %N%N%N%N%N%BNOTE %BON %BCHINESE %BMILITIA %BSPAWNS %BIN %BSOUTH %BCHINA:%N%NTo ensure that no extra Chinese militia units spawn in South China, avoid moving any units near the following towns:%N2 hexes of Kanhsie%N2 hexes of Kukong%N1 hex of Wuchow%N1 hex of Luchow%N1 hex of mine S of Tuyun

The issue is that the text is NOT formatted; IOW the special characters show up in the popup and don't format the text in the desired fashion, nor does the window expand vertically to accomodate the length of the message. Is one of the toggles in the script set incorrectly?




SittingDuck -> RE: Couple of script questions (12/2/2021 1:34:15 AM)

For #1, I am guessing by 'get partisans' you mean 'are hassled by partisans', yes?

For#2, I could be wrong, but I didn't think the tag texts were supposed to be formatted?





redrum68 -> RE: Couple of script questions (12/2/2021 4:50:00 AM)

@Elessar2 - I believe you need to put the <<TAG_233>> with formatted text to the MESSAGE not POPUP parameter so:

#NAME= Warning about Chinese militia spawns in S. China
#POPUP=
#MESSAGE= <<TAG_233>>




BillRunacre -> RE: Couple of script questions (12/2/2021 8:43:10 AM)

1) You're right, partisans fight for their country, i.e. in accordance with its alignment, rather than against it.

2) redrum68 has the answer. [:)]




Elessar2 -> RE: Couple of script questions (12/2/2021 10:43:49 PM)

Yeah, knew it would be something dumb on my part, again. [sm=00000007.gif]

1st question remains, tho I know the answer (they only pop up for the attacked/surrendered side), just wish they would work both ways. WiF does it that way, note.




Page: [1]

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
2.312012