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 revisionPrevious revision
Next revisionBoth sides next revision
boolean [2017/06/02 12:05] justinboolean [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>
-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: 2021/04/21 20:06 by justin