SetFootstepType

From NWN Lexicon
Jump to: navigation, search


SetFootstepType(int, object)

Sets the footstep type of the creature specified.

void SetFootstepType(
    int nFootstepType,
    object oCreature = OBJECT_SELF
);

Parameters

nFootstepType

FOOTSTEP_TYPE_*

oCreature

The creature to change the footstep sound for.


Description

Sets the footstep type of the creature specified.

Changing a creature's footstep type will change the sound that its feet make whenever the creature takes a step.

By default a creature's footsteps are detemined by the appearance type of the creature.

SetFootstepType() allows you to make a creature use a different footstep type than it would use by default for its given appearance.



Version

1.66

See Also

functions: 

GetFootstepType

constants: 

FOOTSTEP_TYPE_*



author: Mistress, editor: Kookoo