Jump to content

Recommended Posts

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...

  • Like 1

Share this post


Link to post
Share on other sites

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 :)

  • Like 1

Share this post


Link to post
Share on other sites

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...

  • Like 1

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×