Ok, I'm thinking about doing a project in AGS studio, but first I need to know, if there's a way how to send some sort of messeges from the studio. I couldn't find anything in the manuals. I would like to trigger other things (projections on other screens and stuff) depending on some in-game triggers. Being able to send MIDI messages out of the studio would do the trick, or at least making some key pressed for a while (that would also be enough). I mean something like:
IsKeyPressed(eKeyK)= true;
Wait(50);
IsKeyPressed(eKeyK)= false;
I know IsKeyPressed doesn't work that way and is only a condition checker, but I hope you get the idea of what I need. Unfortunately I couldn't find anything so far, but I really hope it would be possible.
EDIT: I'm starting to think it might be impossible to send any kind of information out of the program (if it is not directly associated with the current input). Basically all I need to do is send some kind of information (like a key input) that would not be dependant on the actual input... I hope I make some sense. English is not my native language, but I hope my question is clear. I can use key inputs or midi messages to trigger things in different programs but I would like to be able to send them from AGS directly through scripting so I can trigger for exmple a video on another screen when player perform some action. I know it's not a common need but if anyone has some idea, I would appreciate it.
IsKeyPressed(eKeyK)= true;
Wait(50);
IsKeyPressed(eKeyK)= false;
I know IsKeyPressed doesn't work that way and is only a condition checker, but I hope you get the idea of what I need. Unfortunately I couldn't find anything so far, but I really hope it would be possible.
EDIT: I'm starting to think it might be impossible to send any kind of information out of the program (if it is not directly associated with the current input). Basically all I need to do is send some kind of information (like a key input) that would not be dependant on the actual input... I hope I make some sense. English is not my native language, but I hope my question is clear. I can use key inputs or midi messages to trigger things in different programs but I would like to be able to send them from AGS directly through scripting so I can trigger for exmple a video on another screen when player perform some action. I know it's not a common need but if anyone has some idea, I would appreciate it.