mrmiguu Posted December 4, 2008 Author Share Posted December 4, 2008 How can I make a spell that auto-targets the NPC without clicking on it or attacking it before hand? I got the rest down, just this auto-target stuff is confusing to me, im sure theres loops involved. Link to comment Share on other sites More sharing options...
Baron Posted December 4, 2008 Share Posted December 4, 2008 if i was trying to do this id recall the positions of all NPC's on the map using a loop and work out which NPC was closest by adding the difference in x then y, then send a targeting packet based on which was closest. Link to comment Share on other sites More sharing options...
mrmiguu Posted December 4, 2008 Author Share Posted December 4, 2008 So I can bet that this will require some source edits? Thanks for your help btw, I appreciate it. Link to comment Share on other sites More sharing options...
Baron Posted December 4, 2008 Share Posted December 4, 2008 i suspect so, not sure how good the targeting controls are via scripts. Link to comment Share on other sites More sharing options...
zade_o Posted December 5, 2008 Share Posted December 5, 2008 No, pretty sure every command baron mentioned can be done in sadscript. Link to comment Share on other sites More sharing options...
oturaz Posted December 9, 2008 Share Posted December 9, 2008 ok,srry im intterupting u, but im a poor little noob and… i dont know to make a spell to work(im talking about normal spells, not scripted ones) . how can i make the spells to work ? if i learn them and click cast, it doesnt work, please somebody tell me how to do this? maybe step by step for one stupid person like me... :sad: Link to comment Share on other sites More sharing options...
oturaz Posted December 9, 2008 Share Posted December 9, 2008 in TE 2.7 ….. :sad: Link to comment Share on other sites More sharing options...
DarkMazer Posted December 9, 2008 Share Posted December 9, 2008 @oturaz:> in TE 2.7 ….. :sad:I hope you mean EE 2.7…That's because of a bug that makes any spell that's not an area spell not work properly. It's one of the only bugs I find constantly in EE 2.7, but it's still a pain. Also, one post is enough. You don't have to post the exact same thing 4 times. That's actually considered spamming. Link to comment Share on other sites More sharing options...
oturaz Posted December 12, 2008 Share Posted December 12, 2008 and is there a posibility to solve the bug? … how can i make the spells to work?... :sad:P.S. i wrote 9 same messages like this, so ... not 4... youre mistake... :P (srry for that, i didnt know) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now