Legacy Documentation: Version 4.5.0

Script language:

  • JS
  • C#
  • Boo
Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

HumanTrait.BoneFromMuscle

static function BoneFromMuscle(i: int): int;
static int BoneFromMuscle(int i);
static def BoneFromMuscle(i as int) as int

Parameters

iMuscle index.

Description

Return the bone to which a particular muscle is connected.

The bone and muscle indices used by this function are the same as those of the BoneName and MuscleName arrays respectively.