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
boolean [2017/06/02 12:05]
justin
boolean [2017/06/02 12:17] (current)
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>
-set_player_movement_locked(true)+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