Jump to content

Home

Global Variables


TimBob12

Recommended Posts

Posted

Hi there can someone please tell me how to create a conditional script that uses a global variable and also how to just get what is in the global variable so that i can use it in other scripts. Thanks

 

TimBob12

Posted

Global variable are an easy thing the figure out. First of all global variables are divided into two categories, Booleans and Numbers.

 

Booleans - A statement which has to equal True or False (by default all Booleans are False)

Numbers - A statement which has to equal a number (by default I think they are 0)

 

I can't pull up the scripts for you but they are pretty easy to find since they are the most common type of scripts you'll find. I haven't played around with Numbers that much but I'm sure it's the same concept. To work with Booleans you need to think in terms of perform this action whenever this condition equals true.

 

Hope this helps.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...