Spawning/Casting from Inside HP Events
Hello all. I'm having some errors with a quest file i have. It involves casting and spawning monsters from inside HP Events. Here's the file.
Code:
#Kaldra When it hits the part of quest::selfcast and quest::spawn (inside the if statements about $hpevent==x)zone.exe gives me CastToClient errors. Is this an error in my source code of zone.exe or an error in my quest file? Heh...or both? I do have an Idea though... since both spawn and selfcast work outside of the hp events, is there a Goto like function? To go to a certain label in the quest file, and then return to where it was called after it is done? Using that i could just have it jump to another section of the code upon the if($hpevent==x) statements returning true. If you have any ideas of what could be wrong, please post. |
Try this:
Code:
#Kaldra |
Ahah! Exactly the kind of function i wanted. Thanks Killspree.
|
A while ago I submitted a change that I think might fix this. It doesn't look like it actually got merged in. Would you mind giving it a try? http://www.eqemulator.net/forums/viewtopic.php?t=13906. Where it says to change line 342, the line number is now 351, The other couple line numbers are probably off too, but should be somewhere near. This might also fix some other odd problems you could run into.
|
All times are GMT -4. The time now is 07:18 PM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.