User Tools

Site Tools


boolean

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
Next revision Both sides next revision
boolean [2017/06/02 08:12]
justin created
boolean [2017/06/02 12:17]
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:====
 <code lua> <code lua>
-display_message("Hello world! This is a string.")+set_player_movement_locked(false) 
 +</​code>​ 
 + 
 +<code lua> 
 +set_entity_property(self, ​"visited", true)
 </​code>​ </​code>​
  
 ~~NOTOC~~ ~~NOTOC~~
boolean.txt · Last modified: 2020/03/12 10:17 by justin