English Solved Marking a player's owned houses on the map

Bundestag

User
3/4/21
25
1
1
300
Hello again,

First of all i want to appreciate all the help that i got in the Forum <3.

Now to my question.
I want to make it possible for the police, to look up a players Houses that he owns, by marking them on the map for a period of time. I am stuck on fetichng the houses a player owns and wanted to know if someone has an idea how to do that.

Thank you
Bundestag (David)
 
Solution
Hey !
The positions of the houses of the current player are stored in the variable life_houses. You can fetch it with a foreach, like that :
Code:
{
    _position = call compile format ["%1",_x select 0];
    _house = nearestObject [_position, "House"];

    // ....
} forEach life_houses;
Hey !
The positions of the houses of the current player are stored in the variable life_houses. You can fetch it with a foreach, like that :
Code:
{
    _position = call compile format ["%1",_x select 0];
    _house = nearestObject [_position, "House"];

    // ....
} forEach life_houses;
 
Solution