This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
testpage [2019/09/10 08:00] dgmschouten [End] |
testpage [2019/09/10 08:48] dgmschouten [Step 2. Variables in the Scriptor tab] |
||
---|---|---|---|
Line 317: | Line 317: | ||
Now, return to the Project Editor. Create a second scene, enter it, and go to the Scriptor tab. You will see that the Global Variable COUNTER exists in this scene as well. Global variables are scene-independent: Each global variable exists through your entire project. | Now, return to the Project Editor. Create a second scene, enter it, and go to the Scriptor tab. You will see that the Global Variable COUNTER exists in this scene as well. Global variables are scene-independent: Each global variable exists through your entire project. | ||
- | IMG: scene 2 global (All the Object Variables related to objects in scene 1 are not visible here, since these are not relevant to scene 2.) | + | > IMG: scene 2 global (All the Object Variables related to objects in scene 1 are not visible here, since these are not relevant to scene 2.) |
Unlike Object Variables, Global Variables can be edited directly. Double-click anywhere on the row containing the COUNTER variable. Doing so will open the Create Variable screen again, for this variable. | Unlike Object Variables, Global Variables can be edited directly. Double-click anywhere on the row containing the COUNTER variable. Doing so will open the Create Variable screen again, for this variable. | ||
- | IMG: Create Counter (You can see that the screen immediately fills out all details for the COUNTER variable.) | + | > IMG: Create Counter (You can see that the screen immediately fills out all details for the COUNTER variable.) |
Change the initial value of COUNTER to 3, and click the SET button. Be careful to not click the DELETE button: This will delete the variable instead. | Change the initial value of COUNTER to 3, and click the SET button. Be careful to not click the DELETE button: This will delete the variable instead. |