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?
< >
Showing 1-2 of 2 comments
Tiwaz  [developer] 3 Feb @ 10:01am 
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;
Last edited by Tiwaz; 3 Feb @ 10:04am
Tiwaz  [developer] 3 Feb @ 10:02am 
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.
< >
Showing 1-2 of 2 comments
Per page: 1530 50