How do you create such scripts:
2. To remove the resource pile, preferably only for the human player, and the computer shouldn't be able to do it (like in mission 4 for Arantir).
Use the RemoveObject function.
Added 1 minute ago
How do you make a hero move to a specific point? There's a move animation, but it doesn't seem to work.
Use the MoveHeroRealTime function.