Jump to content

Photo

Access a global bool array from scripts


  • Please log in to reply
1 reply to this topic

#1 Smiles the Death Bringer

Smiles the Death Bringer

    The smiling demon!

  • Members
  • Real Name:William
  • Location:Dream Land

Posted 13 February 2020 - 02:23 PM

I'm working on a fairly large script that uses FFC scripts, item scripts, and global methods. I need to have a boolean array that can be accessed from all the different script types. What would be the best way to go about doing that? 



#2 Jamian

Jamian

    ZC enthusiast

  • Members

Posted 13 February 2020 - 02:26 PM

Just declare it at the beginning of your script file. For example:

 

bool myArray[100];


  • Mani Kanina likes this


0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users