- Joined
- Mar 12, 2016
- Messages
- 24
- Reaction score
- 1
- First Language
- English
- Primarily Uses
So I have the script Hover Alerts by modern algebra, and I am getting an error after the item pickup alert has come up, as shown:
I managed to stop it from erroring by changing like 265 from:
@hover_alert = @hover_alert_queue.empty? ? nil : @hover_alert_queue.shift
to
@hover_alert = (@hover_alert_queue.nil? || @hover_alert_queue.empty?) ? nil : @hover_alert_queue.shift
but this removes the alert, and I would like the alert to show.
The code I have is from the demo he provided, in which it worked, and everything else it is intended to do works.
Here's the full code:
http://pastebin.com/9H11VMs0
I managed to stop it from erroring by changing like 265 from:
@hover_alert = @hover_alert_queue.empty? ? nil : @hover_alert_queue.shift
to
@hover_alert = (@hover_alert_queue.nil? || @hover_alert_queue.empty?) ? nil : @hover_alert_queue.shift
but this removes the alert, and I would like the alert to show.
The code I have is from the demo he provided, in which it worked, and everything else it is intended to do works.
Here's the full code:
http://pastebin.com/9H11VMs0

