@DarmaniOk, I see.
**
It would be possible to do so the hard way with all these expressions:
GetTownOwner(town) [Suggestion]
Returns the number of the player that owns the specified town.
SetTownOwner(town, owner) [Already available]
Makes the specified player own the corresponding town.
*
GetResourceGeneratorOwner(type, x, y) [Suggestion]
Returns the owner of the specified resource generator as an integer (0-5), or returns "-1" if the resource generator is not owned by any player.
SetResourceGeneratorOwner(type, x, y, player) [Suggestion]
Sets the specified player (0-5) to become the owner of the specified resource generator...
*
YouLose(player) [Suggestion]
The player loses the scenario.
*
MapRemoveHero(hero) [Suggestion]
Removes the specified hero from the adventure map.
*
It was just an idea to do it with one expression.
@GodRageYes, for resources, it is already possible to do with these expressions:
GetResource(player, resource) [Already available]
Returns the amount of resource the player possesses.
SetResource(player, resource, value) [Already available]
Sets the resource of player to value.
GiveResource(player, resource, amount) [Already available]
Grants to player an amount of resource.