Leigham Posted July 30, 2015 Report Share Posted July 30, 2015 If (Lega_single_currency)then{ _Pick1 = [Lega_prize_vehicles,Lega_prize_one,Lega_maxcash,Lega_gold,Lega_poor_prizes,Lega_med_Prizes,Lega_High_prizes,Lega_Legend_prizes] call bis_fnc_selectRandom; }else{ _Pick1 = [Lega_prize_vehicles,Lega_prize_one,Lega_gold,Lega_poor_prizes,Lega_med_Prizes,Lega_High_prizes,Lega_Legend_prizes] call bis_fnc_selectRandom; }; if(_pick1 = Lega_prize_vehicles)then{ _spawnvic = _pick1 call fnc_Spawn_Chosen_vehicle; }; This is what I have so far for the loot Randomizer, the rest of the unfinished files are in the GitHub posted before updating as I go. any help would be great. Maybe someone to collaborate with :D Thanks guys Any Help would be greatly appreciated, I will have the money only version out later today, if you could take a look https://github.com/Leigham/A2Lottery GitHub is there. Link to comment Share on other sites More sharing options...
erony Posted July 30, 2015 Report Share Posted July 30, 2015 I created an almost identical srcipt, but the problem on my side vien anti fooled, which removed the weapon the player obtained Link to comment Share on other sites More sharing options...
seelenapparat Posted July 30, 2015 Report Share Posted July 30, 2015 _prizes = [_winnings, _Hmmwv]; _win = [_prizes] call BIS_fnc_selectRandom; the error likely comes from the _prizes array, as you do not have defined the variable _winnings. also ,you can make the whole thing much easier. you dont have to declare so much variables. for example: _prizes = [_winnings, _Hmmwv] call BIS_fnc_selectRandom; would also work. Link to comment Share on other sites More sharing options...
Leigham Posted July 31, 2015 Author Report Share Posted July 31, 2015 Updated Github, Looking for someone to collaberate with. would be great for a little help Thanks Guys :D Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now