View Single Post
04/14/14, 03:47 PM   #5
Sharlikran
 
Sharlikran's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2014
Posts: 666
Do you know how to concat two stings, especially when one is an integer? I'm still a little weak with some of the lua syntax.

Code:
for i = 1, 50 do
  d( GetString("SI_GAMECAMERAACTIONTYPE" .. tostring(i)) )
end
Wouldn't that make it such that as i increases it would use 'SI_GAMECAMERAACTIONTYPE1', 'SI_GAMECAMERAACTIONTYPE2', and so on so I could automate making a better list of those constants?
  Reply With Quote