{"name":"BIS_fnc_VRHitpart","operator":null,"title":"BIS fnc VRHitpart","type":"function","url":"https://community.bistudio.com/wiki/BIS_fnc_VRHitpart","revid":348044,"updated":"2023-11-08T11:28:46Z","groups":["VR"],"status":"ok","replaced_by":[],"games":[{"game":"arma3","name":"Arma 3","version":"1.24"}],"since":{"game":"arma3","name":"Arma 3","version":"1.24"},"arma3_since":"1.24","branch":null,"locality":{"argument":null,"effect":null,"server_exec":false},"exec":null,"description":"Initialize hit effects on VR targets.\n\ngrey - undamaged\n\norange - damaged\n\nred - destroyed","syntaxes":[{"syntax":"[object,time] call BIS_fnc_VRHitpart","since":null,"effect":null,"exec":null,"params":[{"name":"object","type":"Object","optional":false,"default":null,"description":"VR Object","types":["Object"],"since":null,"text":"object: Object - VR Object"},{"name":"time","type":"Number","optional":true,"default":"30","description":"delay before hit parts are returned back to default","types":["Number"],"since":null,"text":"time: Number - (Optional, default 30) delay before hit parts are returned back to default"}],"returns":{"type":"Nothing","types":["Nothing"],"description":null,"text":"Nothing"}}],"examples":[{"text":"```sqf\nprivate _delta = [someObject, 60] call BIS_fnc_VRHitpart;\n```","code":["private _delta = [someObject, 60] call BIS_fnc_VRHitpart;"]}],"multiplayer":null,"problems":null,"aliases":[],"see_also":[],"notes":[],"categories":["Arma 3: Functions","Arma 3: New Functions","Function Group: VR","Functions","Introduced with Arma 3 version 1.24"],"docblock":null,"filled_from_docblock":[]}