war subscriptions $MissionFailed calculation

Ask here if you experience technical problems with X4: Foundations.

Moderator: Moderators for English X Forum

Post Reply
kuertee
EGOSOFT
EGOSOFT
Posts: 789
Joined: Sun, 14. Dec 03, 13:05
x4

war subscriptions $MissionFailed calculation

Post by kuertee » Mon, 19. Apr 21, 03:46

i think i found a bug in the war missions in the base game - i.e. not DLCs. i've not looked at the DLCs yet.
in all war subscription missions, $MissionsFailed is calculated from event.param.$completedmissions:
i.e.

Code: Select all

<!--event.param = table[
$cue                = thread cue namespace,
$completedmissions  = number of completed missions,
$failedmissions     = number of failed missions]-->
<cue name="ARG_VS_HOL_Thread_Finished" instantiate="true">
  <conditions>
    <!-- SNIPPED -->
  </conditions>
  <actions>
    <!-- SNIPPED -->
    <set_value name="$MissionsCompleted" operation="add" exact="event.param.$completedmissions"/>
    <set_value name="$MissionsFailed" operation="add" exact="event.param.$completedmissions"/>
Mods: RPG: Reputations and Professions, Social Standings and Citizenships, Crime has Consequences, Alternatives to Death. Missions/NPCs: Emergent Missions, NPC Reactions, Mod Parts Trader, High-sec Rooms are Locked, Hacking Outcomes, More Generic Missions, Waypoint Fields for Deployment. Others: Auto-cam, Friendly Fire Tweaks, Teleport From Transporter Room, Wear and Tear. QoL: Trade Analytics, Loot Mining, Ship Scanner, Signal Leak Hunter, Station Scanner, Surface Element Targeting, etc.

Post Reply

Return to “X4: Foundations - Technical Support”