^ How do I do it?
If Event Kara touches Event Susie variable apples goes up by 12
RPG Maker VXAce SupportSearch for the variables guide, for example in my starting point tutorial.
It is NOT easy to do, because there is no trigger for event-to-event touch, you'll need to compare XY coordinates.
It is NOT easy to do, because there is no trigger for event-to-event touch, you'll need to compare XY coordinates.
Or if good enough at script programming I can script instead.
no, a scripting solution would be a lot more work, and more problems for no real gain in the game (and still require you to know about variables).
Scripting is not always the best solution, especially in cases where you need a parallel check.
Scripting is not always the best solution, especially in cases where you need a parallel check.
Okay thank ya 🙂
You can use parallel process common event that check the position of each events and compare it. The switch for activate the common event depends on where you will apply this? On certain circumstance, on certain maps, or just in case the switch is on? You can fake "touch" by compare the position using x_with_direction and y_with_direction I think.
You can place Control Variable on the moment when these two events meet each other, if
you move them by "Set Move road" command.
Like for example when you set move road for "Kara" and make her approach "Susie" you can
set control switch on at finish of the move road...
Somethnig like that, you know...
But if you have randomly moving events on the map... It'll be little bit harder... (That's what I think you meant, right?)
you move them by "Set Move road" command.
Like for example when you set move road for "Kara" and make her approach "Susie" you can
set control switch on at finish of the move road...
Somethnig like that, you know...
Original thread: https://forums.rpgmakerweb.com/threads/if-event-kara-touches-event-susie-variable-apples-goes-up-by-12.45546/