I have two functions called AddReminder and LoseReminder. I want to use them in room scripts as well as the global script. I have exported them at the end of the global script, and imported them into the global header. However, when I try to use LoseReminder in the middle of a function in my room script, it comes back with a parse error.
I've used it within the function hDoor_Interact() as follows:
LoseReminder("Phone Mum.");
You don't need to export functions.
// header
import function AddReminder(String text);
import function LoseReminder(String text);
Why do people always open another thread about their same problem...?
thanks!