Daemonion 0 Опубликовано 6 Мая 2012 Поделиться Опубликовано 6 Мая 2012 I wrote this code and am having one problem with it. I have placed several space restrictors (using the level editor) so that, when the player walks into them, a sound is played. When they leave the space restrictor, the sound stops. However, the sounds are repeating from the beginning every one second or so. I think the code is maybe checking to see if the player is inside the zone every 1 second, and repeats the sound each time from the beginning. Maybe I need to set up something where when the player enters a zone, the game stops checking to see if the player is in the zone? Ссылка на комментарий https://www.amk-team.ru/forum/topic/12342-lua-help/
Рекомендуемые сообщения
Создайте аккаунт или авторизуйтесь, чтобы оставить комментарий
Комментарии могут оставлять только зарегистрированные пользователи
Создать аккаунт
Зарегистрировать новый аккаунт в нашем сообществе. Это несложно!
Зарегистрировать новый аккаунтВойти
Есть аккаунт? Войти.
Войти