Fr3eMan 16 Posted May 24, 2017 Hello! Anybody have idea of how work this function? https://community.bistudio.com/wiki/BIS_fnc_wpPatrol And the difference with BIS_fnc_taskPatrol? Share this post Link to post Share on other sites
sarogahtyp 1108 Posted May 24, 2017 puh I know that there is a function to extract the description directly from the game if there is one. but I ve no clue what the name was... 1 Share this post Link to post Share on other sites
sarogahtyp 1108 Posted May 24, 2017 found it... https://community.bistudio.com/wiki/BIS_fnc_exportFunctionsToWiki 1 Share this post Link to post Share on other sites
Mokka 29 Posted May 24, 2017 I've dug out the function source for you mate: private ["_group","_pos","_target","_wp"]; _group = _this param [0,grpnull,[grpnull]]; _pos = _this param [1,[],[[]],3]; _target = _this param [2,objnull,[objnull]]; _wp = [_group,currentwaypoint _group]; Reason, why there is no entry in the BIKI, is: There is no commented function header, therefore no information could be exported as description :) 1 Share this post Link to post Share on other sites
Mokka 29 Posted May 24, 2017 Actually transferred above code into a more understandable syntax: /* * BIS_fnc_wpPatrol * * Description: * Script seems unfinished, as it does not actually do anything with its params, and does not return * anything. * * Parameters: * 0: Group to be processed <GROUP> * 1: Position (of the group?!) <POSITION> * 2: Target (unit/object?) of the patrol <OBJECT> * * Return Values: * Unknown... */ As you can see, this function is totally useless and has not been completed, as it stands... 1 Share this post Link to post Share on other sites