SetFootstepType

From NWN Lexicon


Contents

[edit] SetFootstepType(int, object)

Sets the footstep type of the creature specified.

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

[edit] Parameters

nFootstepType

FOOTSTEP_TYPE_*

oCreature

The creature to change the footstep sound for.


[edit] 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.



[edit] Version

1.66

[edit] See Also

functions: 

GetFootstepType

constants: 

FOOTSTEP_TYPE_*



author: Mistress, editor: Kookoo

Personal tools
Categories