This shows you the differences between two versions of the page.
Next revision | Previous revisionNext revisionBoth sides next revision | ||
boolean [2017/06/02 08:12] – created justin | boolean [2020/03/12 10:14] – 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(true) |
+ | </ | ||
+ | |||
+ | <code bauxite> | ||
+ | set_global_property("story_complete", false) | ||
+ | </ | ||
+ | |||
+ | <code bauxite> | ||
+ | self.property[" | ||
</ | </ | ||
~~NOTOC~~ | ~~NOTOC~~ |