For those of you with this error:
Script ‘Window_Base’ line 408: NoMethodError occurred. undefined method ‘hp’ for nil:NilClass.
If you don't want to sacrifice the enemy name, color, and states display by switching the help window off, I fixed mine by finding this method in window help (in the target arrow script):
Find this:
Change that to this:
It basically makes sure that if the target is nil, it won't put an arrow over him. I have not run into any problems with this yet. Hope that helps!
I also posted it on his blog.
Script ‘Window_Base’ line 408: NoMethodError occurred. undefined method ‘hp’ for nil:NilClass.
If you don't want to sacrifice the enemy name, color, and states display by switching the help window off, I fixed mine by finding this method in window help (in the target arrow script):
Code:
def set_target_text(target, align = 0)
Code:
if target != @target || @target.name != @text
@text = ""
@target = target
@align = align
target_info
end
Code:
if target != nil
if target != @target || @target.name != @text
@text = ""
@target = target
@align = align
target_info
end
end
I also posted it on his blog.