[FIXED] Raid on Kismayo - Trigger not working? (Full Version)

All Forums >> [New Releases from Matrix Games] >> Command: Modern Operations series >> Tech Support



Message


ColonelMolerat -> [FIXED] Raid on Kismayo - Trigger not working? (1/19/2020 3:32:41 PM)

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.




michaelm75au -> RE: Raid on Kismayo - Trigger not working? (1/19/2020 8:23:47 PM)

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)




Dimitris -> RE: Raid on Kismayo - Trigger not working? (1/19/2020 8:40:55 PM)

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?




ColonelMolerat -> RE: Raid on Kismayo - Trigger not working? (1/19/2020 10:49:25 PM)

Ahh all that work finding the problem for nothing![sm=00000289.gif]
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)




Page: [1]

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
2.8125