Filterscripting - Do I need everything?
#1

I am about to embark on transferring large sections of code to a filterscript to make updating during gameplay a bit easier but i was wondering, do you need all the functions in a filterscript or just the one you want to play around with?

I am also assuming that a filterscript can almost entirely be a gamemode script (just without the init bits etc)
Reply
#2

Open up a Filterscript, and check what is needed.
Reply
#3

Quote:
Originally Posted by kmzr
Open up a Filterscript, and check what is needed.
That doesn't help much as every filterscript is different.

Quote:
Originally Posted by Seif_
A filterscript is basically an add-on to your gamemode, something that you don't need to add in your gamemode script. However you have to be careful, sometimes some things can go wrong, like filterscripts interfering with each other or with the gamemode. That means it's best to keep textdraws, menus, checkpoints, gangzones and dialogs out of filterscripts if there are some included in the gamemode.
the main things i am looking to place in FS would be / slash commands so it should be fine. if a variable is declared globally in the gamemode script im guessing the filterscript doesnt need it added.
Reply
#4

How can it not help? Of course it can.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)