The Problem:
The NPC properly walks to the ladder and appears to look like he mounts it (by changing to a different NPC), but for some reason he does not continue to climb down the ladder, he instead disappears!
As far as I can tell, I am using the proper "wait for NPC" function, so I don't understand why the script does not seem to wait for the NPC to make it down the length of the ladder before deleting him.
Here's a look at the script:
Code:
#Makes Jinso Climb Down Ladder
walk NPC (4, down, 1)
wait for NPC (4)
walk NPC (4, left, 2)
wait for NPC (4)
walk NPC (4, down, 4)
wait for NPC (4)
destroy NPC (4)
create NPC (9, 11, 15, down)
embiggen now
wait(2)
walk NPC (9, down, 5)
wait for NPC (9)
set NPC direction (9, up)
wait
destroy NPC (9)
create NPC (4, 11, 20, up)
embiggen now
walk NPC (4, down, 1)
wait for NPC (4)
walk NPC (4, left, 2)
wait for NPC (4)
walk NPC (4, down, 4)
wait for NPC (4)
destroy NPC (4)
create NPC (9, 11, 15, down)
embiggen now
wait(2)
walk NPC (9, down, 5)
wait for NPC (9)
set NPC direction (9, up)
wait
destroy NPC (9)
create NPC (4, 11, 20, up)
embiggen now
Here's how I understand it should work:
-The NPC #4 walks down, then left, then down.
-At this point he has reached the top edge of the ladder.
-NPC #4 is then deleted and NPC #9 is created in it's place (NPC #9 uses a sprite set which looks like the NPC has mounted the ladder).
-NPC #9 then "climbs" down the ladder 5 tiles.
-Once down the ladder, the NPC #9 is then deleted, and NPC #4 is re-created in it's place.
⊕ P E R S O N A L M U S I C: https://open.spotify.com/album/6fEo3fCm5C3XhtFRflfANr
⍠ C O L L A B M U S I C: https://dustpuppets.bandcamp.com/releases



