Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - 4zurewolf

Pages: [1]
1
Hello!

I am new to this forum but joined to receive help on a few errors I am having with wasteland. Currently I have added multiple items in to be spawned as loot in LSlootlists.sqf; and have not received any console errors from that file.

I have however received an error, since adding additional loot, in Lootspawner.sqf.

The following error pops up:

16:35:23 Error in expression <ddons\Lootspawner\Lootspawner.sqf"
 
getListBuildingnames = {
{
spawnBuilding>
16:35:23   Error position: <getListBuildingnames = {
{
spawnBuilding>
16:35:23   Error Missing ]
16:35:23 File mpmissions\__cur_mp.Altis\addons\Lootspawner\Lootspawner.sqf, line 83

And the code inside looks like this:

//Buildings that can spawn loot go in this list
#include "LSlootBuildings.sqf"
//Loot goes in these lists
#include "LSlootLists.sqf"

//-------------------------------------------------------------------------------------
//function only runs once on beginning of mission, not really needs a compile
//fill spawnBuilding_list with buildingnames only
getListBuildingnames = {
   {
      spawnBuilding_list pushBack (_x select 0);
      //diag_log format["-- LOOTSPAWNER DEBUG add to spawnBuilding_list: %1 ", (_x select 0)];
   }forEach Buildingstoloot_list;
};

Does anyone know what I can do to fix these errors?

Pages: [1]