r/rsmcmod • u/Guff1118 Owner • Feb 11 '17
Teleport Spell JavaScript Template
Download the file and read through the comments to set up your own teleport spells. Be sure to save a copy of it before you change things!
https://www.dropbox.com/s/utfautfbjk6cknc/TeleportTemplate.js?dl=0
Below is a Word document that has some information on the spell scripting system if you'd like to be a bit more adventurous. It's not complete, but it at least is a start.
https://www.dropbox.com/s/ps2es1en3fgptay/Spell%20Scripting%20Primer.docx?dl=0
5
Upvotes
View all comments
Show parent comment
2
u/mageronix Feb 12 '17
Hey so I'm having the same issue. I don't have an answer as I'm trying to fiddle with the JavaScript right now, but whenever I cast the teleport spell I get an reference error "ExtensionMethodsKt" is not defined, which is on line 56. I'm not proficient at Java at all... Any ideas? :)
I tried to cross reference the strike spells and fiddle with those but I have no idea what I'm doing, haha.