thevisad / DayZUnleashed

DayZUnleashed Main Repository
3 stars 2 forks source link

Added g_pickFailChance_dzu variable to mission file so server owner can #275

Closed xyberviri closed 10 years ago

xyberviri commented 10 years ago

change base pick chance. Added 5th param to pickLock.sqf action script to allow for base pick chance override via action call.

player addAction [_text,"\z\addons\dayz_code\actions\pickLock.sqf",[cursorTarget,"fnc_on_pass","fnc_on_fail","fnc_on_interrupt",100],1,false,true,"",""]; 100 is optional and would set the failure rate to 100% on every attempt (only this one call).