Timed eventsAdvancedSo sometimes, you want to make a sort of "timed event" in which the player has to do something before time runs out. However, you normally cannot run 2 different events in Cave Story, sorry it's just the way it works.
You can use what you've learned from other lessons to create these sort of events.
exactly like the "Clear all enimies" script.
whenever it makes contact.
(Or wherever you moved it to...) This makes the trigger come toward the player again, but there is some time in-between that. Once the trigger touches the player the event is called again.
such as opening a door.
or whatever you want to do to the player.
Next Section: |