Page 2 of 2
Re: [1304.1] Mission bug
Posted: Tue Jan 17, 2023 3:48 pm
by DimiHendrix
thewood1 wrote: Tue Jan 17, 2023 1:21 pm
I'm also running it from the editor. It might be worth it to remove lua from the equation and set the target from the start and see what happens.
edit: also check your side-level WRAs. I noted the mission has all inherited. The side looks like its set for the target's defense value of 4 Harpoons. So assuming thats what the mission is folowing.
If any devs look into this this is what WRA looks like when i assign 1 unit in the LUA action .

- Capture.PNG (326.32 KiB) Viewed 237 times
and this is when i assign 6 units with a for loop

- Capture2.PNG (311.62 KiB) Viewed 237 times
Re: [1304.1] Mission bug
Posted: Sat Jan 21, 2023 10:39 pm
by michaelm75au
I wonder if you create the mission with the 'active' flag OFF.
Assign the target and units.
And then turn the mission active flag ON if that would help with the situation. While the event is running, there may be parallel activity happening.
Or
Assign the units to mission first, and then assign the target.
Re: [1304.1] Mission bug
Posted: Sat Jan 21, 2023 10:52 pm
by michaelm75au
The multi-ship WRA looks correct. It sees all the units as having the same inherited value. If any of the units had a different value, the value would change to 'mixed' or such.
This is image from doing the WRA when multi-selecting the units

- 2023-01-22 09 49 36.jpg (176.46 KiB) Viewed 191 times
Re: [1304.1] Mission bug
Posted: Thu Jan 26, 2023 1:11 pm
by Dimitris
What is the status of this? WAD? Confirmed sim-side flaw? Scripting error? Something else ?
Re: [1304.1] Mission bug
Posted: Thu Jan 26, 2023 10:35 pm
by DimiHendrix
Dimitris wrote: Thu Jan 26, 2023 1:11 pm
What is the status of this? WAD? Confirmed sim-side flaw? Scripting error? Something else ?
I cannot debug this from the user side . There is no visible clue as to why the ships don't fire . All i can see is that the ships get a targeting vector that says 'auto-pr' the first one fills the targets defense value (allocates 4 missiles) then it sometimes fires 1 sometimes 2 missles ... and they all move to somewhere without a path . I have posted a video