Jump to content
Sign in to follow this  
bodge

Construction Interface - Building not appearing

Recommended Posts

Hi all

I'm trying to mess about with the base building interface and I've created a COIN module that initializes like so:

dummy = this execVM "build_init.sqf"

myMoney = 5000;

COIN0 synchronizeObjectsAdd [player0];

COIN0 setvariable ["BIS_COIN_name","Base"];
COIN0 setvariable ["BIS_COIN_rules",[west, player0]];
COIN0 setvariable ["BIS_COIN_areasize",[150,40]];

COIN0 setvariable ["BIS_COIN_categories",["Base", "Defence"]];
COIN0 setvariable ["BIS_COIN_items",
[
["USMC_WarfareBBarracks","Base",300,"Barracks"],
["USMC_WarfareBLightFactory",0,400],
["USMC_WarfareBHeavyFactory",0,600]
]
];
COIN0 setvariable ["BIS_COIN_funds","myMoney"];
COIN0 setvariable ["BIS_COIN_fundsDescription","$"];

  1. Construction option appears
  2. I select the Barracks
  3. The semi-transparent green placement tool appears
  4. I left-click to build the construction
  5. The funds are deducted...
  6. ... but no building?

EDIT:

This is a snippet from the ArmA2OA.RPT:

Cannot create entity with abstract type USMC_WarfareBLightFactory (scope = private?)
Cannot create non-ai vehicle USMC_WarfareBLightFactory,

The object clearly exists because it loads the model and displays the outline, but can't create it?

What could I be doing wrong?

Edited by bodge

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×