Jump to content
  • 0

R3f Creation factory [Need assistance]


simentobias

Question

Hi, some days ago i finally got R3F working for arma 3 epoch mod. Now i have run into some other issue were i can't seem to get the creation factory to work.

Here is my currently code:

 

_Creation_Factory_Container = createVehicle ["Box_IND_AmmoVeh_F", [16659.8,13403.2,0], [], 0, "CAN_COLLIDE"];
_Creation_Factory_Container = [_this] execVM "R3F_LOG\USER_FUNCT\init_creation_factory.sqf";

The vehicle or box spawns, but spawns multiple times (each time a player joins). Aswell it doesn't look like the init_creation_factory is being loaded onto the box. I cannot access it. 

All help is appreciated, im fairly new to arma 3 scripting or sqf in general.  :)

Link to comment
Share on other sites

6 answers to this question

Recommended Posts

  • 0
if (isNil "creation_Factory_Container") then {
    creation_Factory_Container = createVehicle ["Box_IND_AmmoVeh_F", [16659.8,13403.2,0], [], 0, "CAN_COLLIDE"];
    publicVariable "creation_Factory_Container";
};
[creation_Factory_Container] execVM "R3F_LOG\USER_FUNCT\init_creation_factory.sqf";
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Advertisement
  • Discord

×
×
  • Create New...