Matrix Games Forums

Forums  Register  Login  Photo Gallery  Member List  Search  Calendars  FAQ 

My Profile  Inbox  Address Book  My Subscription  My Forums  Log Out

[FIXED] ScenEdit_SetUnitSide works only once per session

 
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] >> Command: Modern Operations series >> Tech Support >> [FIXED] ScenEdit_SetUnitSide works only once per session Page: [1]
Login
Message << Older Topic   Newer Topic >>
[FIXED] ScenEdit_SetUnitSide works only once per session - 6/14/2017 9:57:57 PM   
MrGandi

 

Posts: 52
Joined: 4/5/2014
Status: offline
Hi there,

With the lua action ScenEdit_SetUnitSide I can change unit side only ones. If I try to change the same unit again the function doesn't work anymore. I've to safe the game and restart it. After that I can change the side back.
As far as I remember it was possible to change unit sides back and forth in the past.

Please have a look at attached file.
To change unit side just go to special action.

Do I miss something?
I'm using Build 936.17

Attachment (1)

< Message edited by Sunburn -- 6/15/2017 1:26:26 PM >
Post #: 1
RE: ScenEdit_SetUnitSide works only once per session - 6/15/2017 2:50:45 AM   
Cik

 

Posts: 671
Joined: 10/5/2016
Status: offline
paste the script you are using

(in reply to MrGandi)
Post #: 2
RE: ScenEdit_SetUnitSide works only once per session - 6/15/2017 8:26:52 AM   
MrGandi

 

Posts: 52
Joined: 4/5/2014
Status: offline
I'm using:
ScenEdit_SetUnitSide({side="blue", name="USS Virginia", newside="red"})

To get the unit back I used in the past:
ScenEdit_SetUnitSide({side="red", name="USS Virginia", newside="blue"})

(in reply to Cik)
Post #: 3
RE: ScenEdit_SetUnitSide works only once per session - 6/15/2017 11:18:24 AM   
michaelm75au


Posts: 13500
Joined: 5/5/2001
From: Melbourne, Australia
Status: offline
It is not an issue with swapping back but it is not recording the unit on the 'red' side.
Having a look

_____________________________

Michael

(in reply to MrGandi)
Post #: 4
RE: ScenEdit_SetUnitSide works only once per session - 6/15/2017 12:23:29 PM   
michaelm75au


Posts: 13500
Joined: 5/5/2001
From: Melbourne, Australia
Status: offline
Logged!

_____________________________

Michael

(in reply to michaelm75au)
Post #: 5
RE: ScenEdit_SetUnitSide works only once per session - 6/15/2017 12:55:35 PM   
michaelm75au


Posts: 13500
Joined: 5/5/2001
From: Melbourne, Australia
Status: offline
Not sure why this seems broken in .17 though

_____________________________

Michael

(in reply to michaelm75au)
Post #: 6
RE: ScenEdit_SetUnitSide works only once per session - 6/15/2017 1:26:11 PM   
Dimitris

 

Posts: 13282
Joined: 7/31/2005
Status: offline
Fixed for the next update.

_____________________________


(in reply to michaelm75au)
Post #: 7
RE: ScenEdit_SetUnitSide works only once per session - 6/15/2017 2:29:48 PM   
MrGandi

 

Posts: 52
Joined: 4/5/2014
Status: offline
Thanks guys!! You're awesome!!!!

(in reply to Dimitris)
Post #: 8
Page:   [1]
All Forums >> [New Releases from Matrix Games] >> Command: Modern Operations series >> Tech Support >> [FIXED] ScenEdit_SetUnitSide works only once per session 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.938