Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
_fortifiedpos = _findhouses/_divide; //The bigger problem
createMarker ["marker3",_fortifiedpos];
the _fortifiedpos var is Array / number // you cant do a calc on array / number.
the marker position isnt a position its the same array of houses // _fortifiedpos array of houses
i think you will want to loop each house in the array..
if (count _findhouses > 0) then {
{
//some code to do something to each house in the array.
} foreach _findhouses;
};
the array in each house is an array of positions within the house.. for spawning things inside houses etc..
Domino
Thought of a way that might be easier to code, but i am not sure how or which commands to use.
If i search for a random house in the chosen radius then test for a house that have more house around them. But i am not sure how to make i so it will do it untill it find a house that meats the critera.