View Single Post
Old 01.07.2009, 12:19   #2
kold
Guest
 
Posts: n/a
Default another ai question

Unless the items are all in a row, you'd have to specify each itemX as a parameter...and unfortunately you can't really for loop them. At best, you could have like ..what is it 6 or 8 items in the i0-i6 or whatever registers and reference the memory offsets for each and looping through each...

i0 = 260

i1 = 264

i2 = 268

etc.

But honestly since compiled its all the same as a big if-else set, just do it the copypasta way.

Версия форума 2009–2010. Восстановлено из публичного снимка Wayback Machine. Тема могла сохраниться частично. Время показано по часам снимка; часовой пояс не установлен. Дата в снимке: 07-01-2009, 12:19 PM. Открыть источник.