Northgard

Northgard

Your Battlefied, Your Rules
Unique and vibrant user made battlefields, all new tiles, customization win conditions, endless possibilities. The world is in your hands with the Northgard Map Editor!
Learn More
Carica 20 Feb, 2024 @ 12:32am
Mod beginner - any good example scripts?
Hey, I am a beginner at modding and trying to make my own map.
I have two problems:
1. How do I check building progress of a building (for example sword of odin or the sacred land). I mean: this should be possible, right? But I can only access lifepoints.
2. How can I change the alignment of neutral clans to a player? I can check their alignment with state.neutrals.getAlignment(player) but when I try setting that value the script stops running.
If somebody knows how to do this, or knows of a good script where I could get pointers, I would be very happy! Thanks!