I guess many of you didn't know this, however, you might have used this without realizing this, but items and and even skills have a self-switch. This is how it works:
When using common events, you can trigger events that control, or read out the status of a self-switch. Or with a plugin it can even be a self-variable. Normally those are bound to an event, and when used in a common event, it would be bound to the event that called upon that common event.
But items and skills can trigger common events, too. Those common events can still trigger self switches, which then will be bound to the item or skill that triggered the common events.
So if you tried something like this:
If you would add this common event to the effects of an apple, then the first time you ear that apple, you get this message. But the next time you find an apple, it won't show this message.
Having a similar common event for a rubber ball, then when using the rubber ball, it will still run the common event, because its self-switch is still off, even if the apple was used earlier.
Note that if you have stacking items (like 20 apples) then the self switch count for all those items, as long as they have the same ID. So not each apple has their own self-switches.
And there is so many funny things you can do with those self-switches. 🙂
When using common events, you can trigger events that control, or read out the status of a self-switch. Or with a plugin it can even be a self-variable. Normally those are bound to an event, and when used in a common event, it would be bound to the event that called upon that common event.
But items and skills can trigger common events, too. Those common events can still trigger self switches, which then will be bound to the item or skill that triggered the common events.
So if you tried something like this:
If you would add this common event to the effects of an apple, then the first time you ear that apple, you get this message. But the next time you find an apple, it won't show this message.
Having a similar common event for a rubber ball, then when using the rubber ball, it will still run the common event, because its self-switch is still off, even if the apple was used earlier.
Note that if you have stacking items (like 20 apples) then the self switch count for all those items, as long as they have the same ID. So not each apple has their own self-switches.
And there is so many funny things you can do with those self-switches. 🙂
I guess I was wrong? I have no idea how... I used this feature for many things in the past.