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] Raid on Kismayo - Trigger not working?

 
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] Raid on Kismayo - Trigger not working? Page: [1]
Login
Message << Older Topic   Newer Topic >>
[FIXED] Raid on Kismayo - Trigger not working? - 1/19/2020 3:32:41 PM   
ColonelMolerat

 

Posts: 479
Joined: 9/23/2015
Status: offline
Hello!
Great work on CMO - I'm especially loving the new satellite maps.
However, on Raid on Kismayo, when I move the marines to the safehouse... nothing happens. Attached is my save file.
When there were enemies in the area, I got a warning, but after destroying them, nothing.
Cheers!

Edit:
Messing around in the editor, if I add an 'endscenario' action to the trigger, it works. So the trigger isn't broken, but the action is.

Edit #2:
I've sort-of worked what seems to be affecting things.
In the action US_MarinesAtSite, there is the command:
local theUnit = ScenEdit_UnitX()
The marines are supposed to be assigned to theUnit for the action to work, but instead another unit in the area becomes theUnit. If I move all my other units out of the trigger area, the marines (correctly) become theUnit.

Then there is a second problem:
The action has the following line:
theMessage = GenerateRadioMessageBody(theMessage,theReconTeam.name

the theReconTeam.name is a nil value.

If delete 'theReconTeam.name', it works.

So, to 'fix' this action, I must:
- Move all units that are not the marines out of the trigger area
- Delete the text 'theReconTeam.name' from the action

Then it works ok.

I hope that helps.

Attachment (1)

< Message edited by Dimitris -- 1/20/2020 9:16:27 AM >
Post #: 1
RE: Raid on Kismayo - Trigger not working? - 1/19/2020 8:23:47 PM   
michaelm75au


Posts: 13500
Joined: 5/5/2001
From: Melbourne, Australia
Status: offline
The problem is that the 'theReconTeam' unit is not present; possibly killed? The Recon team cal lsign is 'Coyote 4', but I can't see it.

This is a script error -
1. should be checking it is present before 'theReconTeam' is used
2. variable is local but not defined in the script.

Issue with scenario itself.

Changed these lines in the action - set the variable, and pass the name
local theReconTeam = ScenEdit_GetUnit({guid='a818d4d3-2693-4805-b8c8-8692781f97e0'})
local callsign = nil
if theReconTeam ~= nil then
callsign = theReconTeam.name
end
theMessage = GenerateRadioMessageBody(theMessage,callsign)


< Message edited by michaelm75au -- 1/19/2020 8:39:03 PM >


_____________________________

Michael

(in reply to ColonelMolerat)
Post #: 2
RE: Raid on Kismayo - Trigger not working? - 1/19/2020 8:40:55 PM   
Dimitris

 

Posts: 13282
Joined: 7/31/2005
Status: offline
Hi,

A corrected version of this scenario has already been made available on the current public beta: https://www.matrixgames.com/forums/tm.asp?m=4749983

If you haven't, can you apply this update and give it a try?

_____________________________


(in reply to michaelm75au)
Post #: 3
RE: Raid on Kismayo - Trigger not working? - 1/19/2020 10:49:25 PM   
ColonelMolerat

 

Posts: 479
Joined: 9/23/2015
Status: offline
Ahh all that work finding the problem for nothing!
I did search the forums but only saw issues related to the car pathfinding, sorry!
I'll give it a shot now...
I use Steam - will I need to do anything to go back to normal non-beta life, or can I just forget about it and it will return with future updates?

Just tried it. It works! Thank you for both the support and the game!

(For anybody else with the same problem, your old save won't work, you have to start fresh)


< Message edited by ColonelMolerat -- 1/19/2020 10:53:28 PM >

(in reply to Dimitris)
Post #: 4
Page:   [1]
All Forums >> [New Releases from Matrix Games] >> Command: Modern Operations series >> Tech Support >> [FIXED] Raid on Kismayo - Trigger not working? 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.297