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] Remove Side Trigger Failing to Execute?

 
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] Remove Side Trigger Failing to Execute? Page: [1]
Login
Message << Older Topic   Newer Topic >>
[FIXED] Remove Side Trigger Failing to Execute? - 1/22/2019 7:38:43 AM   
No New Messages
gpotter511
Matrix Trooper


 

Posts: 52
Joined: 10/4/2017
Status: offline
I wonder if anyone has ever had an issue with ScenEdit_RemoveSide failing to...well, remove the side?

The script I am using is: ScenEdit_RemoveSide({name='Unidentified Forces'}). I have verified that the spelling is correct between the actual side and the script.

I have had this work before, but did some editing on the LUA actions today. The script is now failing - as in, not removing the side - in both the console and when the event is triggering "live". I receive no errors in the console or in the message log. It just refuses to delete the side.

Thanks much,
Geoff

< Message edited by Dimitris -- 1/24/2019 5:09:42 AM >
Post #: 1
RE: Remove Side Trigger Failing to Execute? - 1/22/2019 9:40:15 AM   
No New Messages
michaelm75au
Matrix Legion of Merit



Posts: 13500
Joined: 5/5/2001
From: Melbourne, Australia
Status: offline
Save or scen file so it can be tried??

_____________________________

Michael

(in reply to gpotter511)
Post #: 2
RE: Remove Side Trigger Failing to Execute? - 1/23/2019 2:16:19 AM   
No New Messages
gpotter511
Matrix Trooper


 

Posts: 52
Joined: 10/4/2017
Status: offline
FYI, the solution to this problem is to use the script "ScenEdit_RemoveSide({side='NameOfSideToBeRemoved'})"

The Command LUA Github implies that the correct table should be "({name='NameOfSideToBeRemoved})".

While the game will accept this, such a string has no effect.

(in reply to michaelm75au)
Post #: 3
RE: Remove Side Trigger Failing to Execute? - 1/23/2019 9:19:42 AM   
No New Messages
michaelm75au
Matrix Legion of Merit



Posts: 13500
Joined: 5/5/2001
From: Melbourne, Australia
Status: offline
Checked the code and found it was using the 'unit' parser rather than one for 'side'. Corrected for future.
This was fixed for AddSide() but must have missed the RemoveSide()

_____________________________

Michael

(in reply to gpotter511)
Post #: 4
RE: Remove Side Trigger Failing to Execute? - 1/23/2019 5:55:54 PM   
No New Messages
gpotter511
Matrix Trooper


 

Posts: 52
Joined: 10/4/2017
Status: offline
Thanks, Michael!

(in reply to michaelm75au)
Post #: 5
Page:   [1]
All Forums >> [New Releases from Matrix Games] >> Command: Modern Operations series >> Tech Support >> [FIXED] Remove Side Trigger Failing to Execute? 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

1.406