Difference between revisions of "GetNumFollowers"

35 bytes removed ,  03:45, 11 March 2011
imported>Rlilewis
imported>TheNiceOne
 
Line 9: Line 9:
; Walk through each follower and print reference to console
; Walk through each follower and print reference to console


set numAllies to (player.GetNumFollowers - 1)
set numAllies to player.GetNumFollowers
Label 1
While numAllies > 0
set tempRef to player.GetNthFollower numAllies
let numAllies -= 1
PrintC "Follower: %n" tempRef
set tempRef to player.GetNthFollower numAllies
PrintC "Follower: %n" tempRef
set numAllies to numAllies - 1
Loop
if numAllies >= 0
  Goto 1
endif
</pre>
</pre>


Anonymous user