diff --git a/Manual/contents/GameMaker_Language/GML_Overview/Arrays.htm b/Manual/contents/GameMaker_Language/GML_Overview/Arrays.htm index 6b8e4bf1..03feb15e 100644 --- a/Manual/contents/GameMaker_Language/GML_Overview/Arrays.htm +++ b/Manual/contents/GameMaker_Language/GML_Overview/Arrays.htm @@ -4,7 +4,7 @@
That short code will now spawn a random enemy in the game room, and it uses far less code than an "if / then / else" structure or even a "switch", and as the array is initialized all together in the create event it is MUCH easier to edit and change any of those values as they are not hard-coded into the rest of the project code.
- +
Also see: Array Functions
You can pass arrays into script functions and method variables as arguments, and modify those arrays anywhere inside the function. Doing so will modify the original arrays as well.
For example, this function simply changes the first three elements of the array passed into it:
@@ -236,7 +236,7 @@