General: The subject refers to both data and trigger module so I just put it here. Feel free to move the subject if you think the trigger forum section is more suitable.
I have implemented a hero leveling behavior based on veterancy (data module) in my mod. I did it according to tutorials on youtube and it works great. The problem is that it only works with the trigger 'Game Map initialization/ Action: Melee /Set default melee options for all players' deactivated. As it is a melee Mod I still need victory conditions to function properly. It seem I have the following options: - Prevent the trigger from diabling the veterency system (the the trigger can stay activated) (maybe something under dame data?) (preferred solution as it seems easier and cleaner)
- Deactivate the trigger and recreate the victory conditions etc. manually
Thanks man! Great tutorial! Your solution deactivates the trigger and recreates the victory conditions etc. manually. I might need that in case I run into problems with the Game Map initialization Trigger again. I also posted the question in the SC2mapster Discord channel and the user 'Talv' had an easier solution for my specific problem: There are triggers to turn the XP Gain back on. This was all I needed and I can leave the default Game Map initialization Trigger active.
Hi everyone,
General: The subject refers to both data and trigger module so I just put it here. Feel free to move the subject if you think the trigger forum section is more suitable.
I have implemented a hero leveling behavior based on veterancy (data module) in my mod. I did it according to tutorials on youtube and it works great.
The problem is that it only works with the trigger 'Game Map initialization/ Action: Melee /Set default melee options for all players' deactivated. As it is a melee Mod I still need victory conditions to function properly.
It seem I have the following options:
- Prevent the trigger from diabling the veterency system (the the trigger can stay activated) (maybe something under dame data?) (preferred solution as it seems easier and cleaner)
- Deactivate the trigger and recreate the victory conditions etc. manually
Thanks for your help!
Thanks man! Great tutorial! Your solution deactivates the trigger and recreates the victory conditions etc. manually. I might need that in case I run into problems with the Game Map initialization Trigger again.
I also posted the question in the SC2mapster Discord channel and the user 'Talv' had an easier solution for my specific problem: There are triggers to turn the XP Gain back on. This was all I needed and I can leave the default Game Map initialization Trigger active.
MeleeSetOption(lv_player, c_meleeOptionXPGainDisable, false);
Still thanks again MaskedImposter.
This thread can be marked as SOLVED.