So, i posted some days ago asking help for making an scriptcall about self-switches for using it in an ABS system, it was an amazing post, and now i'm here to ask for help again, now with some scripts, so, i was studing this ABS demo made by Listra92, and what i'm trying to figure out is how you can make an event detection without variables, that's what i found in the demo project
ignoring delay variables the main part is that big script, so i tried using it on my project, here's what i did:
i just make it for testing, that's why is so simple, but i figured out something weird, in this script there is
that I learned yesterday that it serves to remotely trigger an Self-Swich, but, when i first tried it on my project, it didn't worked, so i noticed that, in the code that i learned yesterday, It didn't have that "Of" part, so, i removed the "Of", and it worked, but now, it doesn't turn on the self-switch, everything in this code seems right, when i press A the character repoduces an animation in any event that is near and the player is facing, but there's no self-switch, and i'm sure i created an event page for D switch, so i don't know what is wrong, and i'm suspecting about that "Of" that i removed, that's the error message that i got with the "Of"
but I am also wondering why this works in the original demo project and here doesn't, please help.
ignoring delay variables the main part is that big script, so i tried using it on my project, here's what i did:
i just make it for testing, that's why is so simple, but i figured out something weird, in this script there is
Code:
$gameSelfSwitches.setValueOf(event.eventId(), 'D', true);
but I am also wondering why this works in the original demo project and here doesn't, please help.