User Tools

Site Tools


boolean

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
boolean [2017/06/02 08:19]
justin
boolean [2017/06/02 12:17]
justin
Line 4: Line 4:
 A **Boolean** is a scripting data type with two possible values: //true// and //false//. 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: 2017/06/02 12:17 by justin