Skip to content

Commit ee59e28

Browse files
authored
Update Index.md
1 parent a47327b commit ee59e28

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

GUIScript/Index.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,6 @@ All scripts automagically import all symbols from
8585
`gemrb/GUIScripts/GUIDefines.py`, which contains definition of constants
8686
commonly used in the scripts. Other files in this directory can be
8787
imported too.
88-
GemRB.SetNextScript ("MessageWindow")
8988

9089
## Typical GUIScript
9190

@@ -174,8 +173,8 @@ various control issues and questions about their default state.
174173
directly the strrefs as they are displayed instead of the labels.
175174
This however does not work with Planescape: Torment.
176175
7. Put the strrefs into the SetText() functions in the script.
177-
8. Now that the trivial parts are done, the real fun can begin. But
178-
that's a subject too advanced for this page. :-)
176+
8. Now that the trivial parts are done, the real fun can begin by adding
177+
actual logic to the window and its controls.
179178

180179
## Coding style
181180

@@ -192,3 +191,5 @@ in particular:
192191
- if a function does not return a value, do NOT end it with 'return'
193192
- keep naming convention for windows, callback etc.
194193
- comment your code
194+
195+
Part of this is enforced when creating a pull request.

0 commit comments

Comments
 (0)