Difference between revisions of "OBSE Wishes Fulfilled"

287 bytes added ,  15:12, 10 March 2008
GetCreatureSound
imported>Scruggs
m
imported>Scruggs
(GetCreatureSound)
Line 101: Line 101:
*'''isPluginRunning''' - if the plugin is active, returns its load order. ''Use GetModIndex''
*'''isPluginRunning''' - if the plugin is active, returns its load order. ''Use GetModIndex''
*'''IsValidReference''' - returns true if the supplied reference is valid. This would return false, for instance, if a reference to an item is put into an inventory, or if the reference is non-persistent and not in the loaded cell. Avoids issues with calling functions on such references crashing the game. ''Use IsFormValid''
*'''IsValidReference''' - returns true if the supplied reference is valid. This would return false, for instance, if a reference to an item is put into an inventory, or if the reference is non-persistent and not in the loaded cell. Avoids issues with calling functions on such references crashing the game. ''Use IsFormValid''
*'''PlayCreatureSound [soundGroup]''' - an alternative to the above. Plays the sound associated with the specified group for the calling object (creature). Creatures have sounds like "Idle", "Hit", "Attack", etc. ''Pass the return value of GetCreatureSound to PlaySound or PlaySound3D''
Anonymous user