User Tools

Site Tools


set_entity_blocks_sight

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
set_entity_blocks_sight [2018/03/16 09:48] justinset_entity_blocks_sight [2021/04/21 18:50] (current) justin
Line 10: Line 10:
  
 ^Argument^Description^Type^Required^ ^Argument^Description^Type^Required^
-|entity|Entity that will have its "Blocks Line of Sight" property chnaged.|[[Entity]]|Yes| +|entity|[[Entity]] that will have its "Blocks Line of Sight" property changed.|[[Entity]]|Yes| 
-|blocks_sight|Determines whether or not the entity blocks line of sight.|[[Boolean]]|Yes|+|blocks_sight|Determines whether or not the [[entity]] blocks line of sight.|[[Boolean]]|Yes|
  
 <WRAP center round info 100%> <WRAP center round info 100%>
-Use the corresponding "Blocks Line of Sight" property on the [[Model Properties]] panel to set its initial value. For example, a closed door should initially block the player's sight.+Use the corresponding "Blocks Sight" property on the [[Model Properties]] panel to set its initial value. For example, a closed door should initially block the player's sight.
 </WRAP> </WRAP>
  
 ====Example:==== ====Example:====
-<code lua+<code bauxite
-set_entity_blocks_sight(self, false)+set_entity_blocks_sight(self, false);
 </code> </code>
-//Results:// The entity to which the script is attached will no longer block the player's line of sight.+//Results:// The [[entity]] to which the [[script]] is attached will no longer block the player's line of sight.
  
 <WRAP center round tip 100%> <WRAP center round tip 100%>
set_entity_blocks_sight.1521218908.txt.gz · Last modified: 2018/03/16 09:48 by justin