- Joined
- Dec 15, 2013
- Messages
- 186
- Reaction score
- 6
- First Language
- English
- Primarily Uses
Hello! How is everyone?
I have a bit of an issue. Whenever I put a lighting script in my game, for example; Khas Awesome Lighting Effects or Victors Lighting Effects, something weird happens!
The lights move with the character
Alright, say I put a light effect on a lamp post. Now, lets take the player and put him about 10 squares away, out of view.
You'll still be able to see the light! As you walk closer, the light slowly comes with you. The only time it'll ever be in the right place is if you stand where the lighting event is, because by then it'll have moved back to where it was.
In short, "Player moves - Light moves"
I have reason to believe this is a script conflict.
The culprit is this script right here !
https://www.dropbox.com/s/zpoxi8gn8ul38uq/Map%20Effects.rb
Throughout the game, I use the command "map_effects.set_zoom(200, 1)". When the command is doing it's thing, the problem with the lights occur. When the command isn't in use, the lights are just fine.
Can someone please tell me what I can do to fix this? Perhaps there's an addon or something that something can make for me (^-^
/
If you need to know what script I'd rather work with - Khas or Victor - Either is fine. Whichever is most ideal to you!
Thanks in advance!
I have a bit of an issue. Whenever I put a lighting script in my game, for example; Khas Awesome Lighting Effects or Victors Lighting Effects, something weird happens!
The lights move with the character
Alright, say I put a light effect on a lamp post. Now, lets take the player and put him about 10 squares away, out of view.
You'll still be able to see the light! As you walk closer, the light slowly comes with you. The only time it'll ever be in the right place is if you stand where the lighting event is, because by then it'll have moved back to where it was.
In short, "Player moves - Light moves"
I have reason to believe this is a script conflict.
The culprit is this script right here !
https://www.dropbox.com/s/zpoxi8gn8ul38uq/Map%20Effects.rb
Throughout the game, I use the command "map_effects.set_zoom(200, 1)". When the command is doing it's thing, the problem with the lights occur. When the command isn't in use, the lights are just fine.
Can someone please tell me what I can do to fix this? Perhaps there's an addon or something that something can make for me (^-^
If you need to know what script I'd rather work with - Khas or Victor - Either is fine. Whichever is most ideal to you!
Thanks in advance!
