qolelis on 22/2/2014 at 21:06
If what you want to do is carry over loot from a previous mission and use only that amount in the next loadout store (and not any of the loot picked up in the current mission), you could probably use NVTrapSetQVar to backup the total loot at the start of the mission and then set TOTAL_LOOT to the backed up value at the end of the mission (triggered by Difficulty).
I haven't tested this, but I might for my upcoming loadout tutorial.
Edit:
Nope, the backup quest variable must be a campaign quest variable, which NVTrapSetQVar doesn't handle and TrapCampaignQVar doesn't allow setting one quest variable to the value of another.
Edit 2:
Bebeep beep beep! Ach nein, the dolphins are after me! In other words: It's working now. I just had to create the campaign quest variable using TrapCampaignQVar before using NVTrapSetQVar to set it.