-
Notifications
You must be signed in to change notification settings - Fork 5
Map script issue: SEAGULL/SEAGULL2/SEAGULL3 #62
Description
The SEAGULL scripts are enabled by default now, but there is a bug somewhere in the scripting system.
The birds should move continuously along their local forward axis, do some turns, and move along the global up-axis. These are all done concurrently using multitasks, and should finish about the same time.
The global up-axis move is happening while the gull is not moving forward, indicating a problem somewhere in the multitask system.
Truncated SEAGULL2 script:
...
FUNCTION_Sound(29, -40, 0)
MULTITASK_PushAnimation(10, 1)
MULTITASK_RotateByAxis(2, 256, 18)
MULTITASK_MoveObjectAxis(2, 131072, 18)
MULTITASK_MoveByAxis(1, 32768, 16)
TASK_WaitOnTasks()
MULTITASK_PushAnimation(10, 1)
MULTITASK_RotateByAxis(2, -256, 18)
MULTITASK_MoveObjectAxis(2, 131072, 18)
MULTITASK_MoveByAxis(1, 32768, 16)
FUNCTION_Sound(29, -40, 0)
TASK_WaitOnTasks()
MULTITASK_RotateByAxis(1, -1024, 36)
MULTITASK_MoveObjectAxis(2, 262144, 36)
FUNCTION_Sound(28, -40, 0)
TASK_WaitOnTasks()
...