Matrix Games Forums

Forums  Register  Login  Photo Gallery  Member List  Search  Calendars  FAQ 

My Profile  Inbox  Address Book  My Subscription  My Forums  Log Out

Couple of script questions

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
  Printable Version
All Forums >> [New Releases from Matrix Games] >> Strategic Command Series >> Strategic Command WWII: World at War >> Tech Support >> Couple of script questions Page: [1]
Login
Message << Older Topic   Newer Topic >>
Couple of script questions - 12/2/2021 1:25:50 AM   
Elessar2


Posts: 883
Score: 0
Joined: 11/30/2016
Status: offline
#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?
Post #: 1
RE: Couple of script questions - 12/2/2021 1:34:15 AM   
SittingDuck

 

Posts: 1166
Score: 0
Joined: 9/1/2002
Status: offline
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?


(in reply to Elessar2)
Post #: 2
RE: Couple of script questions - 12/2/2021 4:50:00 AM   
redrum68

 

Posts: 1202
Score: 0
Joined: 11/26/2017
Status: offline
@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>>

(in reply to SittingDuck)
Post #: 3
RE: Couple of script questions - 12/2/2021 8:43:10 AM   
BillRunacre

 

Posts: 4945
Score: 2
Joined: 7/22/2013
Status: offline
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.

_____________________________

Follow us on Twitter: https://twitter.com/FurySoftware

We're also on Facebook! https://www.facebook.com/FurySoftware/

(in reply to redrum68)
Post #: 4
RE: Couple of script questions - 12/2/2021 10:43:49 PM   
Elessar2


Posts: 883
Score: 0
Joined: 11/30/2016
Status: offline
Yeah, knew it would be something dumb on my part, again.

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.

(in reply to BillRunacre)
Post #: 5
Page:   [1]
All Forums >> [New Releases from Matrix Games] >> Strategic Command Series >> Strategic Command WWII: World at War >> Tech Support >> Couple of script questions Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts


Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI

0.781