Actors Script
- Added a bunch of useful actions like making an entity jump, mount another entity, swing their hands, etc.
- Speaking about actions, the command /actors path action was added to make entities do specific actions when they reach a path point, like starting another scene.
- There are now settings and many of the previous commands now have more options.
- If the entity is riding another entity, the script will take it into account when useful.
- Improved the path following a little.
- Improved the code readability.
- General fixes.
IMPORTANT
- Remember to start the script with /script load actors
- Paths and Scenes from the previous version won't work.
- Not properly tested.
Actors Script
I made a Scarpet script to allow players to use Carpet's fake players as actors.
Load it with the command /script load actors
Paths
They are the core of the script.
- Create a path with /actors path create <path_name>
- By default, a path does nothing. You have to add at least 1 point with /actors path add <existing_path_name>
- Points are the positions the entities will go to when started with /actors path start <entities> <existing_path_name>
- There are a few more useful commands related to paths. The game will guide you with suggestions.
Scenes
Basically, they allow you to run multiple paths at the same time.
- The commands are similar to the path commands.
- Once you've added the entities you want to follow specific paths with /actors scene add <entities> <existing_path_name> <existing_scene_name>, start the scene with /actors scene start <existing_scene_name>
Extras
- Use /actors look <entities> to make entities look at you. You can even use it before starting a path/scene to make them look at you while following a path.
- /actors follow <entities> will make entities follow you.
IMPORTANT
- Don't expect something big or an advanced AI. I barely had time to make this and the code is a mess, but it works.
- Not tested in multiplayer.
- The game crashed a couple of times while making it, but I haven't been able to reproduce it.