Can someone explain how to actually use the MoveTo(); function? I looked at it on the script reference and used it exactly how it says. the Entity just stays where it is and doesn't move.
rock2_target is a script origin with that kvp copied straight from radiant so its defiantly correct. RotatePitch works fine and does what it should. rock2 is a script_model.
Any ideas to why this doesn't work or perhaps an alternative function to do that same thing? They need to go to very specific positions and that will change as the code continues so it has to be moved to an origin or something similar.
I defiantly was using developer mode... When I get an error I use developer 2. I never notice script_developer doing anything so I just ignore it.
Developer and developer_script don't work fully unless you launch your map with them enabled beforehand. If you do it after the map loads, no it won't do anything besides look at nods, paths, etc.
And yes, if you did do developer it would tell you something because getEnt would have returned undefined due to the typo.
Reasons for it still not working, is things are not defined, or the script isn't running, or something like that. Adding iprint's after and before each part, showing you what step your on in the script, and that each step was successful will help determine your next step.
You will want to print if your entities are defined, their origin, or whatever relative information there is.