Jump to content

jbladel

Member
  • Posts

    53
  • Joined

  • Last visited

Everything posted by jbladel

  1. Haven't figured out how to do it with the conditions field, but by rplacing the DZE_DEPLOYABLES_CONFIG with the bellow you'll be able to set the config for each humanity level. private['_hum']; _hum=(player getVariable["humanity",0]); if(_hum > 5000) then { DZE_DEPLOYABLES_CONFIG = [ ["ItemToolbox",[0,6,1],5,0.1,false,false,false,false,false,true,true,["Nissan_Red_DZE4"],[],[],"true"] ]; } else { DZE_DEPLOYABLES_CONFIG = [ ["ItemToolbox",[0,6,1],5,0.1,false,false,false,false,false,true,true,["MMT_USMC"],[],[],"true"] ]; }
  2. Anyone know how to tie humanity to the _conditions field? Tried: ["ItemToolbox",[0,6,1],5,0.1,false,false,false,false,false,true,true,["M1030"],[],[],"!(isNull player) && {(player getVariable"humanity")>10000}"] but any mention of "player getVariable"humanity"" seems to just make the entire script crash.
×
×
  • Create New...