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
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.
Would this be the same for scripts that determine whether dialog nodes will be displayed.
it all really depends on how you define how you change dialog nodes, but yes this is one method
Hey thanks,
have worked it out thanks to that. I needed it for this:
http://www.lucasforums.com/showthread.php?t=205833)
If your interested.