Pillottio Posted July 27, 2018 Report Share Posted July 27, 2018 Hello everybody. Me and a friend trying to put up a server with overpoch together. We installed DZAI and now we cant loot them for coins, i have seen it on other servers so i know its possible but how do you do to get them spawn coins like the "mission" AI:s? Best regards // Pillotio Link to comment Share on other sites More sharing options...
0 Schalldampfer Posted July 27, 2018 Report Share Posted July 27, 2018 DZAI has no such function in default. (it's not maintained for some years) add this in right place (I added it in 53rd line of dayz_server\DZAI\compile\ai_setup_loadout.sqf ) Quote //Credit to Zupa for original "add money to ai" code. if (Z_singleCurrency) then { _cash = round(random 10) * 20; // adds money to ai wallets in 20x increments. _unit setVariable[Z_MoneyVariable,_cash ,true]; }; Pillottio 1 Link to comment Share on other sites More sharing options...
0 Pillottio Posted July 27, 2018 Author Report Share Posted July 27, 2018 Thanks:) will try it and give feedback. Link to comment Share on other sites More sharing options...
0 Pillottio Posted July 27, 2018 Author Report Share Posted July 27, 2018 Thanks very much it WORKS:) great Schalldampfer 1 Link to comment Share on other sites More sharing options...
Question
Pillottio
Hello everybody.
Me and a friend trying to put up a server with overpoch together.
We installed DZAI and now we cant loot them for coins, i have seen it on other servers so i know its possible but how do you do to get them spawn coins like the "mission" AI:s?
Best regards
// Pillotio
Link to comment
Share on other sites
3 answers to this question
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now