Steel UK 40 Posted January 7, 2023 https://community.bistudio.com/wiki/BIS_fnc_initVirtualUnit Good evening, all and I hope you're doing well. Regarding the linked function, does anyone happen to have any information as to what it does? I have tried it in game but all it seems to do is give the unit god mode. I have also tried it on the player character and I get the same result. Any information is greatly appreciated! All the best, everyone. Share this post Link to post Share on other sites
Harzach 2518 Posted January 7, 2023 /* Author: Karel Moricky Description: Initialize virtual unit Disable it, turn the camera upwards and save its correct side Parameter(s): 0: OBJNULL Returns: BOOL */ _unit = _this param [0,objnull,[objnull]]; _sideID = getnumber (configfile >> "cfgvehicles" >> typeof _unit >> "sideVirtual"); _side = _sideID call bis_fnc_sideType; _unit setvariable ["bis_fnc_objectside_side",_side]; _unit allowdamage false; true Sets unit side to sideVirtual and sets allowDamage false. Share this post Link to post Share on other sites
Steel UK 40 Posted January 7, 2023 Ahh okay thank you. Share this post Link to post Share on other sites