{ "_resourceType": "script", "id": "f47e8b8d-88c3-44ac-90c4-82b14473fb6d", "name": "ScaredGhostPatrolling", "description": "", "variables": { "V0": { "id": "V0", "name": "PointA_X", "passByReference": true }, "V1": { "id": "V1", "name": "Point_Y", "passByReference": true }, "V2": { "id": "V2", "name": "PointB_X", "passByReference": true } }, "actors": { "0": { "id": "0", "name": "ScaredGhost" } }, "symbol": "script_3", "script": [ { "command": "EVENT_ACTOR_MOVE_TO", "args": { "actorId": "0", "x": { "type": "variable", "value": "V0" }, "y": { "type": "variable", "value": "V1" }, "moveType": "horizontal", "useCollisions": false }, "id": "79e549a8-8811-4787-b1d3-97d21654b6dc" }, { "command": "EVENT_WAIT", "args": { "time": 0.5, "frames": 30 }, "id": "7bc2ae62-3bad-406d-b1a6-215b130eb51f" }, { "command": "EVENT_ACTOR_MOVE_TO", "args": { "actorId": "0", "x": { "type": "variable", "value": "V2" }, "y": { "type": "variable", "value": "V1" }, "moveType": "horizontal", "useCollisions": false }, "id": "c94cd1e1-e9e1-4fe6-96a3-7c6aa6ea6081" }, { "command": "EVENT_WAIT", "args": { "time": 0.5, "frames": 16, "units": "frames" }, "id": "1105164d-8dbf-4fc2-8052-217bb8d0fa53" } ] }