@ Darth
I can't use "event touch" as a trigger because the player have to be able to push the events. So it have to be action button press.
@ silver wind
On detecting when 2 events touch. I test it and it doesn't work with event editor (variable, conditional branch), but it does work with your script, that is a very good script. Is this script work well with other scripts, especially the SDKs ?
BTW can silver or someone explain more specifically how to use event to detect when 2 events touch, thanks. :grin:
Basicallly I tried this and it doesn't work:
Objective: event Rock1 and Rock2 touch, both of them disappear.
In the first test, I created 2 variables and placed this on top of the event editor:
Rock1 (Name of the variable) ::: Rock1 - Map X
Rock1 ::: Rock1 - Map Y
Rock2 ::: Rock2 - Map X
Rock2 ::: Rock2 - Map Y
Conditional Branch:
If variable Rock1 = variable Rock2
Switch "EndRock" on (When switch on, the other page on the event Rock1 and Rock2 would activate and EraseEvent)
When I tried this, some how the 2 events disappear right in the beginning before the player has any chance to push it.
Test 2:
I created 4 variables:
Rock1Y ::: Rock1 - Map Y
Rock1X ::: Rock1 - Map X
Rock2Y ::: Rock2 - Map Y
Rock2X ::: Rock2 - Map X
and 2 conditional branchs:
If Rock1X = Rock2X
... If Rock1Y = Rock2Y
Switch "EndRock" on
When I tried this, I push the rocks into each other and nothing happen.
PS/ And yes I did test it in a separate parallel process event.