Search results
From SCI Wiki
Jump to navigationJump to search
Page title matches
- ==Variables== ...Variables are areas in memory used to store data which can be manipulated. Variables can be used for virtually anything. You can store numbers in them, characte8 KB (1,154 words) - 18:16, 5 August 2013
- [[Script Classes for Adventure Games/Global Variables|27]] | <div align="center"><span style="font-size: 22pt">Global Variables</span><br />7 KB (976 words) - 02:21, 11 December 2015
- [[SCI Programming Language/Data Types and Variables|6]] | <div align="center"><span style="font-size: 22pt">Data Types and Variables</span><br />10 KB (1,481 words) - 22:49, 25 May 2016
- [[The Script Programming Language/Data Types and Variables|4]] | <span style="font-size: 22pt">Data Types and Variables</span><br />10 KB (1,486 words) - 20:14, 2 December 2015
- #REDIRECT [[SCI Programming Language/Data Types and Variables]]63 bytes (8 words) - 21:07, 24 May 2016
Page text matches
- #REDIRECT [[SCI Programming Language/Data Types and Variables]]63 bytes (8 words) - 21:07, 24 May 2016
- [[The Script Programming Language/Data Types and Variables|4]] | * [[The Script Programming Language/Data Types and Variables#Arrays:|array]]7 KB (934 words) - 18:49, 2 December 2015
- ==Variables== ...Variables are areas in memory used to store data which can be manipulated. Variables can be used for virtually anything. You can store numbers in them, characte8 KB (1,154 words) - 18:16, 5 August 2013
- [[SCI Programming Language/Data Types and Variables|6]] | * [[SCI Programming Language/Data Types and Variables#LocalVars|arrays, local]]7 KB (832 words) - 20:08, 26 May 2016
- *[[The Script Programming Language/Data Types and Variables | Data Types and Variables]] [[The Script Programming Language/Data Types and Variables|4]] |2 KB (240 words) - 20:12, 2 December 2015
- *[[SCI Programming Language/Data Types and Variables | Data Types and Variables]] [[SCI Programming Language/Data Types and Variables|6]] |3 KB (281 words) - 21:42, 24 May 2016
- Scores are very easy to handle with SCI. The score bar and score variables are all set up in the main script. The score revolves around two global variables: '''gScore''' and '''gMaxScore'''.2 KB (388 words) - 17:54, 5 August 2013
- [[Script Classes for Adventure Games/Global Variables|27]] | ...right">[[Script Classes for Adventure Games/Global Variables|Next: Global Variables >]]</span>3 KB (363 words) - 02:10, 11 December 2015
- [[SCI Programming Language/Data Types and Variables|6]] | ...rogramming Language/Data Types and Variables|< Previous: Data Types and Variables]]</span>4 KB (480 words) - 22:54, 25 May 2016
- [[The Script Programming Language/Data Types and Variables|4]] | <span style="font-size: 22pt">Data Types and Variables</span><br />10 KB (1,486 words) - 20:14, 2 December 2015
- *[[Script Classes for Adventure Games/Global Variables|Global Variables]] [[Script Classes for Adventure Games/Global Variables|27]] |6 KB (793 words) - 20:30, 11 December 2015
- [[The Script Programming Language/Data Types and Variables|4]] | ...gramming Language/Data Types and Variables | < Previous: Data Types and Variables]]</span><span style="float: right">[[The Script Programming Language/Contro6 KB (937 words) - 20:14, 2 December 2015
- [[The Script Programming Language/Data Types and Variables|4]] | ...cript Programming Language/Data Types and Variables | Next: Data Types and Variables >]]</span>4 KB (504 words) - 00:51, 7 March 2016
- [[SCI Programming Language/Data Types and Variables|6]] | <div align="center"><span style="font-size: 22pt">Data Types and Variables</span><br />10 KB (1,481 words) - 22:49, 25 May 2016
- ...loop to 0, just like it's doing. If you would like to be able to set these variables via the instance of the item located at the bottom of the main script, we s2 KB (345 words) - 16:45, 5 August 2013
- [[Script Classes for Adventure Games/Global Variables|27]] | <div align="center"><span style="font-size: 22pt">Global Variables</span><br />7 KB (976 words) - 02:21, 11 December 2015
- ...ween rooms and throughout the whole game, we will need to make them global variables, we do this by placing them in the main script. We'll go ahead and add in these new variables6 KB (1,041 words) - 17:38, 5 August 2013
- ...f the other variable = somethings are listed add in however many countdown variables you need. It is very important to compile all scripts after making any main ...omes back the timer is reset to it's original value this way, using global variables then they will not forget what numbers they were on.5 KB (691 words) - 18:00, 5 August 2013
- ..."center" | <span class="Category">local</span> || width="100%" | The local variables of the script are declared in the local segment. Each variable is 16 bit, m anArrayOfValues[ 40] // an array of 40 variables totaling 80 bytes9 KB (1,248 words) - 17:58, 5 August 2013
- ...cript|Chapter 1 - Preparing the Main Script]], as we reuse a number of the variables we added when we started the point and click inventory room. Open up the main script and just below the inventory variables we added, let's add these.7 KB (1,206 words) - 17:59, 5 August 2013
- [[SCI Programming Language/Data Types and Variables|6]] | ...">[[SCI Programming Language/Data Types and Variables|Next: Data Types and Variables >]]</span>8 KB (1,031 words) - 21:46, 24 May 2016
- [[SCI Programming Language/Data Types and Variables|6]] | ...ht" valign="top"|-g<num>|| ||Define maximum number of global or local variables. The default is 750.<br /> 4 KB (537 words) - 23:59, 25 May 2016
- ...o someone else. Handling these type of instances will require using global variables. ...o someone else. Handling these type of instances will require using global variables. In these cases, you really want to test whether an object is in the room o3 KB (601 words) - 15:29, 5 August 2013
- ...whole heap, including scripts loaded and all global, local, and temporary variables. Name is a string of the current game (ie. King's Quest#1 = KQ1), num is th ...whole heap, including scripts loaded and all global, local, and temporary variables. Name is a string of the current game (ie. King's Quest#1 = KQ1), num is th4 KB (548 words) - 19:06, 3 December 2015
- [[The Script Programming Language/Data Types and Variables|4]] | ....... Note that the procedure may take no parameters and have no automatic variables. In this case, the definition would be7 KB (986 words) - 20:15, 2 December 2015
- [[SCI Programming Language/Data Types and Variables|6]] | ...is allowable for the procedure to take no parameters and have no automatic variables (optional terms are shown in brackets). Procedure names are traditionally i9 KB (1,179 words) - 23:42, 25 May 2016
- ...be in the exact spot that you left. room 3 is adjacent to the room so some variables need to stay the same like the egos y position and loop, but not all of the1 KB (222 words) - 15:38, 5 August 2013
- [[Script Classes for Adventure Games/Global Variables|27]] |3 KB (342 words) - 01:28, 11 December 2015
- ...r 5 - The SCI Virtual Machine#Local variables (LocalVar)|5.4.1 Local variables (LocalVar)]] ...s: Chapter 5 - The SCI Virtual Machine#Global variables|5.4.2 Global variables]]14 KB (1,845 words) - 19:42, 2 December 2015
- [[Script Classes for Adventure Games/Global Variables|27]] |3 KB (361 words) - 03:12, 9 December 2015
- * [[Script Classes for Adventure Games/Global Variables#addToPics|addToPics]] * [[Script Classes for Adventure Games/Global Variables#cast|cast]]22 KB (2,892 words) - 02:00, 22 January 2016
- [[The Script Programming Language/Data Types and Variables|4]] |2 KB (336 words) - 20:13, 2 December 2015
- [[Script Classes for Adventure Games/Global Variables|27]] | <blockquote>Initializes the game, setting up some global variables and initializing the menu and inventory.</blockquote>6 KB (848 words) - 01:18, 11 December 2015
- [[SCI Programming Language/Data Types and Variables|6]] |2 KB (330 words) - 21:45, 24 May 2016
- [[SCI Programming Language/Data Types and Variables|6]] | <blockquote>This is the game-specific header file. It contains global variables, procedure declarations, and definitions for an individual game. It is auto6 KB (865 words) - 19:32, 26 May 2016
- [[Script Classes for Adventure Games/Global Variables|27]] |3 KB (408 words) - 03:12, 9 December 2015
- [[Script Classes for Adventure Games/Global Variables|27]] |3 KB (435 words) - 23:59, 20 January 2016
- [[Script Classes for Adventure Games/Global Variables|27]] |3 KB (417 words) - 01:41, 11 December 2015
- * gave names to all default global variables4 KB (550 words) - 21:43, 6 May 2019
- ...">[[SCI_Studio_Tutorial_Chapter_11_-_Variables|< Previous: Chapter 11 - Variables]]</span><span style="float: right">[[SCI_Studio_Tutorial_Chapter_13_-_Condi3 KB (435 words) - 17:29, 5 August 2013
- ...be an expert, but should have an idea of how programming generally works (variables, if, else, while, statements, etc.). You should also be familiar with at le : [[SCI_Studio_Tutorial_Chapter_11_-_Variables|Chapter 11 - Variables]]7 KB (1,131 words) - 20:22, 8 September 2020
- [[The Script Programming Language/Data Types and Variables|4]] |3 KB (383 words) - 21:38, 24 May 2016
- [[Script Classes for Adventure Games/Global Variables|27]] |4 KB (484 words) - 03:12, 9 December 2015
- [[Script Classes for Adventure Games/Global Variables|27]] |3 KB (483 words) - 00:50, 11 December 2015
- [[Script Classes for Adventure Games/Global Variables|27]] |3 KB (475 words) - 02:09, 11 December 2015
- [[Script Classes for Adventure Games/Global Variables|27]] |3 KB (459 words) - 02:00, 11 December 2015
- ; Grab the ego's x and y and put them in temp variables Note that this example introduced temporary variables (following the &tmp token). They are scoped to the method or procedure they8 KB (1,115 words) - 21:20, 26 February 2016
- [[Script Classes for Adventure Games/Global Variables|27]] |4 KB (510 words) - 03:11, 9 December 2015
- [[Script Classes for Adventure Games/Global Variables|27]] |4 KB (504 words) - 02:06, 11 December 2015
- [[Script Classes for Adventure Games/Global Variables|27]] |4 KB (525 words) - 00:18, 11 December 2015
- [[Script Classes for Adventure Games/Global Variables|27]] |4 KB (521 words) - 02:02, 11 December 2015
- ...he point and click system is going to be much easier if you can keep a few variables straight. Starting with saving your inventory cursors the same as they were3 KB (463 words) - 16:30, 5 August 2013
- [[Script Classes for Adventure Games/Global Variables|27]] |4 KB (525 words) - 01:56, 11 December 2015
- [[Script Classes for Adventure Games/Global Variables|27]] |4 KB (522 words) - 23:54, 20 January 2016
- [[Script Classes for Adventure Games/Global Variables|27]] |4 KB (533 words) - 00:59, 11 December 2015
- Add a variable named "gTimeTicks" before these variables like so:4 KB (587 words) - 13:38, 27 February 2016
- [[Script Classes for Adventure Games/Global Variables|27]] |4 KB (624 words) - 01:04, 11 December 2015
- ...shown are two other globals 'unneededNoun' and 'unneededSecond'. These 4 variables are initalized to FALSE before each parse, and are set to TRUE when the inp ...id() string. Note that we also are setting the 'noun' and 'second' global variables with constants defined in a similar fashion as our verb constants.17 KB (2,638 words) - 19:27, 30 October 2013
- [[Script Classes for Adventure Games/Global Variables|27]] |5 KB (663 words) - 03:13, 9 December 2015
- [[The Script Programming Language/Data Types and Variables|4]] |6 KB (789 words) - 20:14, 2 December 2015
- [[Script Classes for Adventure Games/Global Variables|27]] |5 KB (674 words) - 00:04, 11 December 2015
- Type 10: Local variables ...ables block, which stores one of the four variable types, is used to share variables among the objects and classes of one script.40 KB (6,555 words) - 20:17, 2 December 2015
- [[The Script Programming Language/Data Types and Variables|4]] |5 KB (709 words) - 20:13, 2 December 2015
- [[Script Classes for Adventure Games/Global Variables|27]] |5 KB (711 words) - 01:50, 11 December 2015
- // Add these local variables: // Logging variables12 KB (1,317 words) - 21:58, 1 November 2013
- [[Script Classes for Adventure Games/Global Variables|27]] |5 KB (792 words) - 01:27, 11 December 2015
- ...K which can be addressed by 16 bit offsets. This is used for script code, variables, objects, lists, and other relatively small things which we wish to access4 KB (664 words) - 23:50, 2 December 2015
- ...the code will take care of the rest for you. Also there are some placement variables which allow you to customize where and how many of your items are placed in txtstring[50] // used to display and update any amount variables46 KB (6,429 words) - 17:17, 5 August 2013
- ...le 'gActor' in the Main.sc file (in the 'local' section with the other 'g' variables). Compile it.5 KB (658 words) - 15:31, 5 August 2013
- [[Script Classes for Adventure Games/Global Variables|27]] |6 KB (834 words) - 20:55, 11 December 2015
- [[Script Classes for Adventure Games/Global Variables|27]] |6 KB (831 words) - 01:56, 22 January 2016
- [[Script Classes for Adventure Games/Global Variables|27]] |6 KB (911 words) - 03:37, 9 December 2015
- [[Script Classes for Adventure Games/Global Variables|27]] |5 KB (824 words) - 22:15, 11 December 2015
- [[Script Classes for Adventure Games/Global Variables|27]] |6 KB (923 words) - 22:35, 11 December 2015
- [[Script Classes for Adventure Games/Global Variables|27]] |6 KB (954 words) - 03:11, 9 December 2015
- [[SCI Programming Language/Data Types and Variables|6]] |9 KB (1,191 words) - 19:10, 26 May 2016
- ...at: right">[[SCI_Studio_Tutorial_Chapter_11_-_Variables|Next: Chapter 11 - Variables >]]</span>7 KB (1,072 words) - 15:37, 5 August 2013
- [[Script Classes for Adventure Games/Global Variables|27]] |7 KB (1,149 words) - 01:38, 11 December 2015
- ...f the class in which the method is defined can be accessed as if they were variables, i.e. by simply using their names. Also, code in a method definition is the8 KB (1,365 words) - 01:31, 4 December 2015
- [[Script Classes for Adventure Games/Global Variables|27]] |9 KB (1,286 words) - 21:33, 11 December 2015
- txtstring[50] // used to display and update any printed variables15 KB (1,411 words) - 17:39, 5 August 2013
- [[Script Classes for Adventure Games/Global Variables|27]] |9 KB (1,382 words) - 00:15, 11 December 2015
- ...e the noun & second as it was input into the nounDescrip and secondDescrip variables. In order to support this script, we need to create a new text resource th11 KB (1,708 words) - 16:55, 5 August 2013
- *§ Initial values of local variables should be indented to the nearest common column There are a few Sierra standards concerning the naming of variables and objects that we will be using. Note: that capitalization is essential.34 KB (5,375 words) - 16:50, 15 April 2018
- [[Script Classes for Adventure Games/Global Variables|27]] |13 KB (1,786 words) - 01:46, 19 January 2016
- ...al functions) from source files and put them in header files. Moved global variables from SCI.C to their appropriate source files, and their declarations from S Changed most variables that began with uppercase to lowercase. Put typedefs with struct definitio45 KB (7,377 words) - 19:12, 2 March 2018
- * These are the global variables. You can access them from any script as long40 KB (4,347 words) - 18:09, 11 October 2018
- ...bugger is/was mainly useful for programmers, but some things like changing variables can be easily done. ...sically, this is a dialog giving you the opportuninty to set various flags/variables at the beginning of the game, so you can for example start halfway in the g76 KB (12,264 words) - 23:05, 3 May 2024