Spiroc Isle Trash Respawn
So I decided to add the scripts for the trash on Spiroc Isle. All the scripts fire and the vanquishers get the signals, but only the Arbiter and the Banisher actually respawn. I have verified all names and npcids are correct. Anyone have any idea why this isn't working 100%?
Code:
sub EVENT_SPAWN { |
When using numbers in if statements, use ==.
When using strings in if statements, use eq. |
I've already tried that, doesn't make any difference.
|
Where's the script for the signaling NPC?
|
All the signals work. Already stated this.
|
Then good luck!
|
As joligario already said, it won't work without using the correct operators. If you aren't going to quote the numbers in your $signal comparison, then don't use "eq".
I would suggest changing your shout lines all to be like this: Code:
quest::shout("I got signal $signal (expulser)!"); Also, I find elsif a bit flaky sometimes, unless there is an else at the end of it (even if the else has nothing in it). You might try switching those all to if instead of elsif and see if that makes any difference. |
Quote:
I tried =='s and it made no difference. There are 3 vanquishers and all 3 get every signal they are supposed to get. The mobs just won't spawn. Actually I take that back, I switched the unique_spawns to spawn2 and they spawned, but I got 3 instead of 1 (obviously), which wasn't ideal. I tried separating the vanquishers into their own entities, using different names and npcids, then dividing the trash spawns between them, and still received the same results. At this point I just trashed the idea. Some trash spawns aren't worth this much damn headache. |
All times are GMT -4. The time now is 09:06 AM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.