Arma 3
NFEXTRA - The Toolkit For Mission Maker (BETA)
Use of Object Init to create new "Mission in progress" Factories?
I've been struggling to combine the Object Init module and a call of fnc_factoryInit to create an object that will act as a factory once created in operation by my players. I however am not a smart enough man to pass the errors I'm receiving when trying to call fnc_initFactory. It keeps saying things like _factoryObject or _mass or _value are undefined. Would anyone have any pointers and what to look at?
< >
Viser 1-2 af 2 kommentarer
Tiwaz  [udvikler] 3. feb. kl. 10:01 
The full name of the function is: nfextra_logistics_fnc_initfactory
https://north.ofpec.com/wiki/doku.php?id=nfextra_functions#nfextra_logistics_fnc_initfactory

Documentation of these can definitely still use some work (also examples). But here is a quick example:
[ object, //the object that will be the factory [[],[],[],[]], //cost: weapons,magazines,items,backpacks [[],[],[],[]], //produce: weapons,magazines,items,backpacks 30, //time it takes to produce something 1, //downtime after finishing a production cycle {true}, //condition {}, //On production cycle start {} //On production cycle end ] call nfextra_logistics_fnc_initfactory;
Sidst redigeret af Tiwaz; 3. feb. kl. 10:04
Tiwaz  [udvikler] 3. feb. kl. 10:02 
Also apparently i don#t get a notification for new discussion on my steam workshop page. Which is why i only just now noticed your question in here.
< >
Viser 1-2 af 2 kommentarer
Per side: 1530 50