Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - saintnightlyy

#1
Quote from: eri0o on Tue 08/03/2022 11:14:18
Write a function to handle these events in a new script as you say, but place it's import in the script header. Now on Global Script, call this function when said event happens.

I'd appreciate some form of example. Sorry, I have never programmed anything, this is my first time being exposed to some sort of 'scripting language' I guess you could call it... Thanks for responding by the way
#2
So hello frens I had a quick question, whenever I want to add an event to whatever (GUI thing, inventory item thing etc) it tells me to write it in GlobalScript and I think that'd be a problem no? Like it could potentially get bloated in stuff or something. I'd rather divide everything in a bunch of little scripts or like, say, a script for GUI events, another for inventory item events, so on. How do I do this? Thank u all
SMF spam blocked by CleanTalk