Larian Banner
Previous Thread
Next Thread
Print Thread
Joined: Nov 2017
E
Erikem Offline OP
journeyman
OP Offline
journeyman
E
Joined: Nov 2017
Hi,

I'm quite sure that it has been asked already but it won't stop me from requesting this functionality again:

Please allow us to define our own output for QRY in Story.

Ideally - as many outputs as we want for any given QRY.

Joined: Nov 2017
L
member
Offline
member
L
Joined: Nov 2017
It's possible to do something like this already - have your QRY set a database and query that database after the next AND. If you don't need a success/fail feedback, you can simply set that database on a previous rule reacting to the same event, and check if the database isn't empty.

Joined: Nov 2017
E
Erikem Offline OP
journeyman
OP Offline
journeyman
E
Joined: Nov 2017
Hi, LarIlya

Thank you very much for the answer. In fact I know of such a way of sending data through but it is a matter of:
1. Convenience - returning data makes code cleaner and easier to read/understand
2. Integrity - DB_ are global and if I do something wrong in my code I might get a wrong response from it
3. DB_ are stored in save files, which means that if accidentally forget to clean them (or do some mistake in a process) then they will start cluttering the save

And yet without a proper "return" functionality this is the way we all have to use to pass data from one code block to another


Moderated by  Larian_Koala, Larian_KVN 

Link Copied to Clipboard
Powered by UBB.threads™ PHP Forum Software 7.7.5