Talk:Modding/Cutscene Commands/@comment-31026213-20190709012133/@comment-31577554-20190709101141

If you want to give them custom spot you have to use the "AddDestinaionSpot", "ChangeScheduleDestinationTargetToSpot" and the "Pathfinding.ReturnToRoutine" command. The first is used to create a spot it is used like this (PX stands for position X and RX for rotation X) : AddDestinationSpot:NameSpot: PX:PY:PZ : RX:RY:RZ. The second is used to know which character will go to this destination, like this : ChangeScheduleDestinationTargetToSpot:Student_ID (Name):2~7:NameSpot. The number before the NameSpot is to determine at which phase of the day you want them to go at your spot (2 is for Before School, 4 Lunchtime, ...). The third one is used so that the customized character do what you wanted them to do, use it at the end of your spots command : Pathfinding.ReturnToRoutine:Student_ID (Name). Then to modify the action that your character perform you can of course use the JSON file or this command : ChangeActionName:Student_ID (Name):2~7:ActionName. Here's an example of all of that :

AddDestinationSpot:OkaSpot: 14:0:18.660 : 0:0:0 ChangeScheduleDestinationTargetToSpot:Student_14 (Oka Ruto):4:OkaSpot ChangeActionName:Student_14 (Oka Ruto):4:Eat AddDestinationSpot:OkaSpot1: 16.720:0:28.180 : 0:-845:0 ChangeScheduleDestinationTargetToSpot:Student_14 (Oka Ruto):7:OkaSpot1 ChangeActionName:Student_14 (Oka Ruto):4:Read Pathfinding.ReturnToRoutine:Student_14 (Oka Ruto)