Hello! So today I am asking for assistance to understand the cleanest and most efficient way to effect an event with an item. Multiple events of the same kind, on various maps. There will be a LOT in my game so I was trying to find something easier than constantly checking player location compared to each event's location.
Example: I am using Galv's tool plugin already to run common events on tool use and have a little UI for it. So right now when player presses ALT it uses an item or tool. For this example an axe.
There are many trees on various maps and I want it so that when I use the axe item it chops down the tree. For this I used to have the events themselves contain parallel processes that when player is above the event and facing down, to the left of the event and facing right, etc, it will check if player uses an item. This was with mogs chrono engine and ABS system. I've since removed it due to multiple bugs it caused.
I was also very worried that having too many events on a map with parallel processes constantly checking the player's location would lag later on. If this is not the case, great! But something tells me it is as I've seen others report too many of these processes causes lag.
What I'm trying to do now:
I need the events to not all be checking and running 24/7 if possible. Instead I want the common event I run to check for the event the player is facing, and effect that event. So when player faces a tree and presses the button to activate the axe item common event, it will trigger that tree and only that tree to be chopped down.
Example: I am using Galv's tool plugin already to run common events on tool use and have a little UI for it. So right now when player presses ALT it uses an item or tool. For this example an axe.
There are many trees on various maps and I want it so that when I use the axe item it chops down the tree. For this I used to have the events themselves contain parallel processes that when player is above the event and facing down, to the left of the event and facing right, etc, it will check if player uses an item. This was with mogs chrono engine and ABS system. I've since removed it due to multiple bugs it caused.
I was also very worried that having too many events on a map with parallel processes constantly checking the player's location would lag later on. If this is not the case, great! But something tells me it is as I've seen others report too many of these processes causes lag.
What I'm trying to do now:
I need the events to not all be checking and running 24/7 if possible. Instead I want the common event I run to check for the event the player is facing, and effect that event. So when player faces a tree and presses the button to activate the axe item common event, it will trigger that tree and only that tree to be chopped down.