bugmaker
invulnerable
offline
Опыт:
2,282Активность: |
Запутался )))
Вобщем я нумного запутался в своем триггере )
короче поясняю идею - у юнита в слотах 1 и 2 есть рюкзаки (листать вверх/вниз соответственно) после нажатия на рюкзак (вверх например) он берет кустом валю у юнита (в инициализации онитам даются кустом и рюкзаки) прибавляет к переменной InvPage 1. далее делает цикл от 1 до общего колва юнитов у кого есть рюкзак (в инийиализайии все ето устанавливается) далее еще один от 3 до 6 (слоты в которые мона класть вещи, потом сеттит строковые переменные 0 + кустом юнита, 0+ стр., и слот (т.е. если например юнит № 5, стр 8, слот 3 то будет 5083(ну вобщем понятно, далее дропаем эти итемы с хира, после сэтим к временной переменной стр+1 и даем ему итемы (из примера 5084. Вобщем плохо работает листание вниз (итемы просто путаются страницами (а некоторые дают несколько ссылок на один и тот же айтем (эта проблема только с листаним вниз) понимаете - я не нуб, даже если и задаю такие тупые вопросы, но все же хелп плиз ) ПОЯСНЕНИЯ: CUnit - кустом валю Код:
З.Ы. я на мапе которую выложил делаю небольшую инвентарную скилл систему (тригги я удалил есессено) так что не обращайте внимания на объекты ) |
10.12.2005, 10:15 | #1
+0/−0
Профиль |
Приват |
Поиск |
Цитата |
IP: Записан
|
bugmaker
invulnerable
offline
Опыт:
2,282Активность: |
ну че все молчат то ( ) |
11.12.2005, 16:16 | #2
+0/−0
Профиль |
Приват |
Поиск |
Цитата |
IP: Записан
|
NETRAT
offline
Опыт:
83,712Активность: |
Что-то я с ним никаких проблем не заметил... вроде все работает |
11.12.2005, 16:31 | #3
+0/−0
Профиль |
Приват |
Поиск |
Цитата |
IP: Записан
|
bugmaker
invulnerable
offline
Опыт:
2,282Активность: |
ну папробуй заполнить его полностью, потом полистать наверх/вниз. Они почемуто путаются страницами? я сам не знаю почему, вроде и триги простые... |
11.12.2005, 18:38 | #4
+0/−0
Профиль |
Приват |
Поиск |
Цитата |
IP: Записан
|