Matrix Games Forums

Forums  Register  Login  Photo Gallery  Member List  Search  Calendars  FAQ 

My Profile  Inbox  Address Book  My Subscription  My Forums  Log Out

Please tell me 1939 events scripts USSR moves factories.Bug?

 
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] >> WarPlan >> Please tell me 1939 events scripts USSR moves factories.Bug? Page: [1]
Login
Message << Older Topic   Newer Topic >>
Please tell me 1939 events scripts USSR moves factories... - 11/24/2019 3:38:23 AM   
Isoko

 

Posts: 84
Joined: 5/19/2017
Status: offline
I check events scripts.
//USSR moves factories
$GiveResource
if_Date=8/1/1941
xyControl=206,59,Allies
actionCountry=4
lifespan=once
xyArea=206,59,28
addReportTo=Allies
text=Soviet rails factories away from key industrial areas reducing production by 5.
$End

I changed it as follows.
if_Date=10/1/1939
Script didnt work.

Again I changed as follows.
if_Date=10/1/1939
lifespan=tillTrigger
Script worked.
Is lifespan=once a bug?

There is another script.(USSR moves factories)
//USSR moves factories
$GiveResource
if_Date=9/1/1941
xyControl=233,73,Allies
actionCountry=4
lifespan=once
xyArea=187,77,28
addReportTo=Allies
text=Soviet rails factories away from key industrial areas reducing production by 5.
$End

< Message edited by Isoko -- 11/24/2019 11:45:51 AM >


_____________________________

Post #: 1
RE: Please tell me 1939 events scripts USSR moves facto... - 11/24/2019 2:52:33 PM   
AlvaroSousa


Posts: 6590
Joined: 7/29/2013
Status: offline
Did you "load all scripts" when you saved

The once lifespan should check only one time after the date is reached and discard the script.

It doesn't seem to be working. I just tested myself. Thanks for spotting this. I will get it fixed.

_____________________________

Games worked on

Designer of the Strategic Command 2 products
- Brute Force (mod)
- Assault on Communism
- Assault on Democracy

Designer of the Strategic Command 3 products
- Map Image Importer

(in reply to Isoko)
Post #: 2
RE: Please tell me 1939 events scripts USSR moves facto... - 11/24/2019 3:19:18 PM   
Hoyt Burrass


Posts: 299
Joined: 6/30/2004
From: Montgomery, Alabama
Status: offline
Comment Deleted

< Message edited by Hoyt Burrass -- 11/24/2019 3:23:56 PM >


_____________________________

Roll Tide

(in reply to AlvaroSousa)
Post #: 3
Page:   [1]
All Forums >> [New Releases from Matrix Games] >> WarPlan >> Please tell me 1939 events scripts USSR moves factories.Bug? 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.121