Jump to content
  • 0
KirieZ

Creating new constants

Question

Hello everybody,

I would like to know if there is a way to make new constants for scripts, I tried to add some values to db/const.txt and they worked, but I'm not sure if it's good to do this haha.

I thought about having a script that sets global variables ($@name and $@name$) inside a OnInit label too, but I'm not sure about the performance as the number of variables increases.

 

So, is there any other way, or a better option between these two? Thanks in advance and sorry for english errors.

Share this post


Link to post
Share on other sites

1 answer to this question

Recommended Posts

  • 0

Hello everybody,

I would like to know if there is a way to make new constants for scripts, I tried to add some values to db/const.txt and they worked, but I'm not sure if it's good to do this haha.

I thought about having a script that sets global variables ($@name and $@name$) inside a OnInit label too, but I'm not sure about the performance as the number of variables increases.

 

So, is there any other way, or a better option between these two? Thanks in advance and sorry for english errors.

Edit the const.txt

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.