Newby Needs a Hand
I have recently been trying my hand at writing encounter scripts and while I have had some success I have found a few hangups I can't overcome.
My issue with the encounter I have set up is I cannot seem to get the second $hpevent variables to work. Here is a copy of my encounter. I would be much obliged if someone can help me out. Also any simple pointers would be awesome. I just started delving into this a week ago. Code:
sub EVENT_SPAWN |
Currently you are closing your sub EVENT_HP out before the next hpevent.
Code:
sub EVENT_HP Code:
sub EVENT_HP { |
Additionally, there is no reason to create local variables for xyzh. They are already set to the values you are setting them to. Just remove those lines.
|
Thanks a lot! That fixed the event. And thanks for the additional pointers, sorvani. I'll try and clean my script up a little.
|
What you did is littered all over the the quest code, so it is understandable where you got it from.
|
All times are GMT -4. The time now is 11:15 PM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.