RTS Movement (87092)

Hi there,

I want to make a mmorpg game in unity3d 4.0.1 but i don’t know how to do this moviment in javascript.This Moviment is like LOL (League of Legends) click to move, but i can’t create with some script that i found on internet.I’ve saw in youtube some guys making it like this

-----> http://www.youtube.com/watch?v=w7kbOrNtHf0 <-----

What are you on about? Of course you can create a League of Legends style MMORPG with RTS movement with some script you found on internet. Heck, I do that all the time! Should take you two, three hours tops.

2 Answers

2

Shouldn’t be too hard. You just ccast a ray from your mouse position to get the Vector3 you are pointing at, and then tell your unit, character or whatever to move there (transform.position / lerp).

man i'm noob, plz put the script please :(

Sorry mate, this isn't a place to come beg for scripts. I suggest you learn to write code on your own and come back and ask specific questions about problems you're running into.

if you need path finding look into the a* algorithm if its just a plane field with no real obsticals it should be easy also if your a noob maby mmo isnt the best place to start try a platformer first.