TimBob12 Posted November 4, 2010 Share Posted November 4, 2010 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 Link to comment Share on other sites More sharing options...
harIII Posted November 4, 2010 Share Posted November 4, 2010 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. Link to comment Share on other sites More sharing options...
TimBob12 Posted November 4, 2010 Author Share Posted November 4, 2010 Would this be the same for scripts that determine whether dialog nodes will be displayed. Link to comment Share on other sites More sharing options...
harIII Posted November 4, 2010 Share Posted November 4, 2010 it all really depends on how you define how you change dialog nodes, but yes this is one method Link to comment Share on other sites More sharing options...
TimBob12 Posted November 5, 2010 Author Share Posted November 5, 2010 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. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.