Ninbous
Jass progress >>>>>35/100
offline
Опыт:
5,674Активность: |
Ошибка в коде
» раскрыть Код:
В Функции Damage пишет что синтаксчическая ошибка, как исправить? Помогите пожалуйста. Отредактировано Ninbous, 26.05.2009 в 20:48. |
26.05.2009, 20:31 | #1
+0/−0
Профиль |
Приват |
Поиск |
Цитата |
IP: Записан
|
J
expert
offline
Опыт:
48,447Активность: |
функция не должна ничего возвращать |
26.05.2009, 21:56 | #2
+0/−0
Профиль |
Приват |
Поиск |
Цитата |
IP: Записан
|
Enein
Silenced by ZlaYa1000
offline
Опыт:
43,631Активность: |
Код:
а также в функции перед Damage отсутствует endfunction Enein добавил: а вообще код немного кривой и непонятный Enein добавил: зачем 2 таймера, если можно было обойтись одним? |
26.05.2009, 22:03 | #3
+0/−0
Профиль |
Приват |
Поиск |
Цитата |
IP: Записан
|
Ninbous
Jass progress >>>>>35/100
offline
Опыт:
5,674Активность: |
Да с нуля как бы нехочется начинать вот я и беру код alexkila, которые он сделал мне ранее по другому спелу, и просто переделываю его под другой спелл... и то что я непонимаю, я пока не удаляю, (например что за функция H2I, я вообще не понимаю, могу только догадыватся что ето функция конверирует ИД какогото обьекта в Integer)
Спасибо Enein |
26.05.2009, 22:21 | #4
+0/−0
Профиль |
Приват |
Поиск |
Цитата |
IP: Записан
|
Enein
Silenced by ZlaYa1000
offline
Опыт:
43,631Активность: |
статьи решают, хотя хз - я ниодной статьи не прочитал по jass, и тем не менее нормально в нем разбираюсь, выучился именно на чужих спеллах. только тебе советовал бы начинать с более простых спеллов
|
26.05.2009, 22:25 | #5
+0/−0
Профиль |
Приват |
Поиск |
Цитата |
IP: Записан
|
Ninbous
Jass progress >>>>>35/100
offline
Опыт:
5,674Активность: |
Да эту статью я прочитал, когда я еще вообще ничегно не знал даже о локальных переменных, нада бы теперь перечитать.
Ninbous добавил: Тему мона закрыть. |
26.05.2009, 23:29 | #6
+0/−0
Профиль |
Приват |
Поиск |
Цитата |
IP: Записан
|
ELDAR
НИИ 4А-ВО кафедра SPELLS
offline
Опыт:
8,394Активность: |
упрощенный вариант
» code Код:
|
27.05.2009, 06:58 | #7
+0/−0
Профиль |
Приват |
Поиск |
Цитата |
IP: Записан
|