Hi everyone and happy 2020!
So, I want to make a simple trap with spikes for which if the player is standing on the trap
at the wrong moment he is hit. How can I do this?
The problem is that neither event touch nor player touch activations are working.
In fact, if the player correctly walk into the spike trap at the right moment there will
be no activation after that, even if he stays there onto the trap when the spikes appear!
More concretely this is how my trap is scripted:
I have an invisible parallel event for which, as a cycle, every 120frames a switch activates and after 60 frames this
same switch is deactived.
Meanwhile in my dungeon i have a two page event in which the first page is empty and shows as a picture
the holes of the traps (other 01) and a second page for which, when the switch is activated, on players touch
spikes visually appear and damage is dealt (in my game MP is a form of damage but that doesnt matter).
So if the player walks onto the event during the second page everything works fine, but he first
walk on the event during the first page event and then stay still the second page event
will only "visually" appear with spikes showing but the content of the event (the damage)
is not activating/working. I also tried putting the second page on event touch activation
but its the same 🙁
Any help would be greatly appreciated! Thanks
So, I want to make a simple trap with spikes for which if the player is standing on the trap
at the wrong moment he is hit. How can I do this?
The problem is that neither event touch nor player touch activations are working.
In fact, if the player correctly walk into the spike trap at the right moment there will
be no activation after that, even if he stays there onto the trap when the spikes appear!
More concretely this is how my trap is scripted:
I have an invisible parallel event for which, as a cycle, every 120frames a switch activates and after 60 frames this
same switch is deactived.
Meanwhile in my dungeon i have a two page event in which the first page is empty and shows as a picture
the holes of the traps (other 01) and a second page for which, when the switch is activated, on players touch
spikes visually appear and damage is dealt (in my game MP is a form of damage but that doesnt matter).
So if the player walks onto the event during the second page everything works fine, but he first
walk on the event during the first page event and then stay still the second page event
will only "visually" appear with spikes showing but the content of the event (the damage)
is not activating/working. I also tried putting the second page on event touch activation
but its the same 🙁
Any help would be greatly appreciated! Thanks