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
I am also working on a lootsystem, although i am doing it a completely different way..
my code is integrated in my "main" mission code.. but i can show the code and some functions with explanation of what i'm doing in that code if you like..
i don't really want to start breaking down my code in each function to give you a working copy of the function without all the extra stuff i've added... ummmm next post i'll break down some stuff and post what i have done... i know some will help you..
before i do that, are you wanting to spawn stuff in houses OR at random positions you are marking on the map?
:)
I have only used one of the weapon arrays as I am not totally sure how you wish to control the spawns etc..
Triggers are to be named weaponSpawn_1, weaponSpawn_2, weaponSpawn_3.. etc as in your previous script, then pass the total number placed with the call.
[3] call _weaponSpawnSelection
You can then use the "allMapMarkers" command to get a list of all markers and filter them by their name.
Like this for example:
Aside from that, having a huge amount of unnecessary triggers on the map is not going to do the performance any good.