Log in

View Full Version : Can't find the magic include.



Imagine
02-24-2012, 01:37 AM
http://docs.villavu.com/srl-5/magic.html

I've been looking for the piece of code to include the magic part of simba for a script I'm making. However, I've looked for a while now and can't find it.
If anybody would be nice enough to either link me to a page with a bunch of includes, or just tell me how to include that function set, that would be great :)

Sin
02-24-2012, 01:39 AM
There is no magic include, you'll have to code a DTM or MouseBox.

Imagine
02-24-2012, 02:10 AM
"The Magic include contains a few useful functions to aid in scripting for the magic skill. Mose are used to properly cast spells so it will work with any spell sorting selected."

That's what it says at the top of the link...

Flight
02-24-2012, 02:14 AM
Look in Includes > SRL > srl > skill > magic.simba. That should have everything you're looking for.

Imagine
02-24-2012, 02:48 AM
After Includes > SRL, all I have is FreeSRL and IncludeSRL, that's one of the problems :S

EDIT:
Was able to write my own include from your path, thank you :)

Er1k
02-24-2012, 08:04 AM
Most of the includes have a few simple yet useful stuff. But beware if it's not working, you probably should make your own.

I liked some of the includes really well, particularly the fighting.simba :)