PDA

View Full Version : How do I make a portal spell?


Astal
09-23-2010, 11:00 AM
I Tried copying a portal spell that works.

Ive learned this so far

The first number is the Y, the second is the X, i think the 3rd is the Z.

I dont know what the 4th is.


I see where you put the zone name at also.

However when i cast this spell it says error spell out of range or somthing similar

can anyone help me out?

blackdragonsdg
09-24-2010, 06:48 PM
Astal you are on the right path. The x, y & z values are as you stated. However the fourth value is a bit of a mystery to me as well. It looks like it should be a heading value but the value is to high for that to be true. I tried changing it to 0 just to see what would happen and it had no obvious effect. The heading value seems to default to 127.3 when using the SoD client.

The spell out of range error usually occurs when using an older version of the client, like Titanium. The only other reason I can think of atm is maybe you forgot an entry to the spells_new table or the spell file itself.