Arma 3 Scripting

BIS_fnc_richCurve_getCurveLength

  • Arma 3 v1.78

Function · Markdown · JSON · original wiki page

Description

Calculates distance between all keys, returning the total length

Syntax

[] call BIS_fnc_richCurve_getCurveLength

Parameters:

Returns: Float - The curve length

Function header

The comment at the top of the function's file in the game; this page's description, params, returns come from it.

/*
Author: Nelson Duarte <@Nelson_G_Duarte>

Description:
Calculates distance between all keys, returning the total length

Parameter(s):
_this select 0: Object     - The curve

Returns:
Float - The curve length
*/