tModLoader How to make an animated sword projectile follow my cursor?

senorkal

Skeletron
I've done lots of research and I can't seem to find lines of coding that works. I've already made the projectile, I just haven't found a piece of code that makes the projectile move with the cursor either one click or autoswinging

Would anyone help me with this topic?

EDIT: I want the projectile to move with the cursor just like the Zenith
 
Last edited:
I've done lots of research and I can't seem to find lines of coding that works. I've already made the projectile, I just haven't found a piece of code that makes the projectile move with the cursor either one click or autoswinging

Would anyone help me with this topic?

EDIT: I want the projectile to move with the cursor just like the Zenith
If you want to understand how something works in vanilla, you can decompile the game. Here's a guide: tModLoader/tModLoader
Additionally, if you want to adapt and change it how you like, here's a guide on that: tModLoader/tModLoader
 
Back
Top Bottom