Difference between revisions of "GetNthSummon"

295 bytes added ,  13:24, 25 December 2009
Added alternative code to be used in conjuction with GetSummons
imported>Kyoma
imported>Kyoma
(Added alternative code to be used in conjuction with GetSummons)
Line 39: Line 39:
   let arFollowers := ar_Null
   let arFollowers := ar_Null
   End  
   End  
Alternative code for use with [[GetSummons]] (to avoid duplicate code)
ScriptName GetNthSummon
long iNth
array_var arSummons
Begin Function {iNth}
let arSummons := Call GetSummons
if TestExpr arSummons[iNth]
SetFunctionValue arSummons[iNth]
endif
let arSummons := ar_Null
End


==See Also==  
==See Also==  
Anonymous user