Zmienne
Zmienna: wzór matematyczny
Set a variable to the result of evaluating a math expression.
Odniesienia
/docs/scripting/math-expressions
- Zmienna: The variable to use.
- Expression: The expression to evaluate.
Warunek: zmienna porównuje się do wartości
Conditionally run part of the script based on the value of a variable compared with a value.
- Zmienna: The variable to use.
- Porównanie: The comparison operator to use e.g. 'Less Than' or 'Greater Than'.
- Wartość: The value to compare with.
- Prawda: The script to run if the condition is true.
- Fałsz: The script to run if the condition is false.
Warunek: zmienna porównuje się do zmiennej
Conditionally run part of the script based on the value of a variable compared with another variable.
- Zmienna: The variable to use.
- Porównanie: The comparison operator to use e.g. 'Less Than' or 'Greater Than'.
- Other Variable: The variable to compare with.
- Prawda: The script to run if the condition is true.
- Fałsz: The script to run if the condition is false.
Zmienna: funkcje matematyczne
Allows you to perform various maths functions on a variable to add/subtract/multiply/divide/modulus a value/variable/random number.
- Zmienna: The variable to use.
- Operacja: The operation to use for modifying the variable value.
- Wartość: The value to combine with the variable using the selected operation.
Zmienna: resetuj wszystkie zmienne do ''Fałsz''
Reset all variables used by your project back to false.
Generator losowych liczb
Place this to run in response to user input to ensure random numbers change between playthroughs.
Aktor: zapisz położenie w zmiennych
Store the current position of an actor within two variables, one to store the horizontal position and another to store the vertical position.
- Aktor: The actor you want to check.
- X: The variable to use for the horizontal position.
- Y: The variable to use for the vertical position.
Silnik: zapisz pole w zmiennej
Store the value of an Engine Field in a variable.
Odniesienia
/docs/settings/#engine-settings
- Engine Field: The engine field to read the value of.
Zmienna: wartość z zapisu do zmiennej
Read a variable's value from a specified save slot and store it in a variable.
- Ustaw zmienną: The variable to update.
- Dodaj do zmiennej: The variable to read the value of.
- Zapisz z pliku: The save slot to use.
Zmienna: zmniejsz o 1
Decrease the value of the specified variable by one.
- Zmienna: The variable to use.
Zmienna: dodaj flagę
Set selected flags to true on a variable. All unselected flags will keep their previous value.
- Zmienna: The variable to use.
- Flaga 1: Set flag 1 to true.
- Flaga 2: Set flag 2 to true.
- Flaga 3: Set flag 3 to true.
Zmienna: czyść flagę
Set selected flags to false on a variable. All unselected flags will keep their previous value.
- Zmienna: The variable to use.
- Flaga 1: Set flag 1 to false.
- Flaga 2: Set flag 2 to false.
- Flaga 3: Set flag 3 to false.
Zmienna: ustaw flagę
Set the value of a variable by enabling individual bits of the 16-bit number. Allows 16 true/false values to be stored within a single variable. Setting the flags will replace the previous value of the variable.
- Zmienna: The variable to use.
- Flaga 1: Set flag 1 to true.
- Flaga 2: Set flag 2 to true.
- Flaga 3: Set flag 3 to true.
Zmienna: zwiększ o 1
Increase the value of the specified variable by one.
- Zmienna: The variable to use.
Zmienna: ustaw na ''Fałsz''
Set the value of the specified variable to false.
- Zmienna: The variable to use.
Zmienna: ustaw na ''Prawda''
Set the value of the specified variable to true.
- Zmienna: The variable to use.
Zmienna: ustaw wartość
Set the specified variable to a defined value.
- Zmienna: The variable to use.
- Wartość: The value to set the selected variable to.