Difference between revisions of "StrGetNthEffectItemScriptName"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>Scruggs
m (StrGetEffectItemScriptName moved to StrGetNthEffectItemScriptName: function name is incorrect)
imported>Haama
(Fixed syntax)
 
Line 1: Line 1:
'''Function:'''
'''Function:'''
  ''name:stringID'' StrGetEffectItemScriptName ''spell:ref'' ''index:long''[results:stringID]''  
  ''name:stringID'' StrGetNthEffectItemScriptName ''spell:ref'' ''index:long''[results:stringID]''  


If ''result'' is given, StrGetName sets strToSet to the magic effect's name (in spell, with ''index'' starting at 0), if not given, StrGetName returns a new stringID with its name.
If ''result'' is given, StrGetName sets strToSet to the magic effect's name (in spell, with ''index'' starting at 0), if not given, StrGetName returns a new stringID with its name.

Latest revision as of 14:31, 26 March 2008

Function:

name:stringID StrGetNthEffectItemScriptName spell:ref index:long[results:stringID] 

If result is given, StrGetName sets strToSet to the magic effect's name (in spell, with index starting at 0), if not given, StrGetName returns a new stringID with its name.