This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| boolean [2017/06/02 08:12] – created justin | boolean [2021/04/21 20:06] (current) – justin | ||
|---|---|---|---|
| Line 2: | Line 2: | ||
| ---- | ---- | ||
| - | A **Boolean** is a scripting data type . | + | A **Boolean** is a scripting data type with two possible values: //true// and //false//. |
| - | ====Example:==== | + | ====Examples:==== |
| - | < | + | < |
| - | display_message("Hello world! This is a string.") | + | set_player_movement_locked(false); |
| + | </ | ||
| + | |||
| + | <code bauxite> | ||
| + | set_global_property("story_complete", true); | ||
| + | </ | ||
| + | |||
| + | <code bauxite> | ||
| + | self.property[" | ||
| </ | </ | ||
| ~~NOTOC~~ | ~~NOTOC~~ | ||