Seems the "Trigger once while true" cannot be used as a co-condition, you do have to create a sub-event.
Simple example:
character on collision with ghost -> {Actions to be done very beginning when collide with ghost}
>Trigger once -> {Your book spawning actions here}
>Blank condition -> {Other actions after spawning the book here}