GetCreatureSound

From the Oblivion ConstructionSet Wiki
Revision as of 23:11, 8 August 2010 by imported>CSbot (Automated import of articles)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
< [[::Category:Functions|Category:Functions]]

A function added by the Oblivion Script Extender.

Syntax:

(sound:ref) reference.GetCreatureSound whichSound:short creature:ref

Returns the creature's sound associated with the specified action.


Actor Sound Codes

The following values are shorts that are used and/or returned by this function, as indicated by its Syntax. These values correspond to the listed actor sound:

 0	LeftFoot
 1	RightFoot
 2	LeftBack
 3	RightBack
 4	Idle
 5	Aware
 6	Attack
 7	Hit
 8	Death
 9	Weapon