using the castspell(id,spell) function
has anyone gotten this to work in the 4.4-dr1 version? no matter how i format the command i can't get the soulbinders to cast a spell....i've tried:
castspell("$userid",35) castspell($userid,35) castspell("$userid","35") castspell($userid,"35") and nothing works... any help would be appreciated. thankx kabalah |
try this one.....
here's a working soulbinder quest.
EVENT_SAY{ if($1- =~"Hail"){SAY("Greetings $name . When a hero of our world is slain. their soul returns to the place it was last bound and the body is reincarnated. As a member of the Order of Eternity. it is my duty to [bind your soul] to this location if that is your wish.")} } EVENT_SAY{ if($1- =~"bind my soul"){SAY("incoming bind . when you die . you will return here")CASTSPELL("$userid","2049")} } works with the 0441DR on this link - http://www.tpcnet.co.uk/eqemu/stable0441exes.zip hope it helps :) |
Make sure you don't have any missing quotation marks or parentheses before the castspell command. I've noticed the parser will stop parsing past that point if anything is missing.
|
thanks :)
thanks killspree, i've got the latest cvs and have found errors in commandex and getargs functions. i have corrected the problems and your quest code now works.
kabalah |
All times are GMT -4. The time now is 01:22 PM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.